haml with markdown claims rdiscount not found

依然范特西╮ 提交于 2019-12-04 13:42:23

问题


I've specified

gem 'haml'
gem 'rdiscount'

in my Gemfile and ran bundle install

The relevant code is

.welcome-message
  :markdown
    Welcome **#{current_user.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?


回答1:


Turns out I'm an idiot. All that was needed was to restart the server. Carry on everyone.



来源:https://stackoverflow.com/questions/5424504/haml-with-markdown-claims-rdiscount-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!