haml with markdown claims rdiscount not found
I've specified
gem 'haml'
gem 'rdiscount'
in my Gemfile and ran bundle install
The relevant code is
.welcome-message
:markdown
Welcome **#{current_use开发者_开发百科r.email}**
When I access the page I get
Can't run Markdown filter; required 'rdiscount' or 'peg_markdown' or 'maruku' or 'bluecloth', but none were found
I'm using rails 3.0.5, what am I missing?
Turns out I'm an idiot. All that was needed was to restart the server. Carry on everyone.
精彩评论