开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜