开发者

haml with markdown claims rdiscount not found

开发者 https://www.devze.com 2023-02-20 03:27 出处:网络
I\'ve specified gem \'haml\' gem \'rdiscount\' in my Gemfile and ran bundle install The relevant code is

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

精彩评论

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

关注公众号