带有降价声明的haml找不到rdiscount [英] haml with markdown claims rdiscount not found

查看:145
本文介绍了带有降价声明的haml找不到rdiscount的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经指定

gem 'haml'
gem 'rdiscount'

在我的Gemfile中并运行捆绑安装

in my Gemfile and ran bundle install

相关代码是

.welcome-message
  :markdown
    Welcome **#{current_user.email}**

访问页面时,我会得到

无法运行Markdown过滤器;必需的 'rdiscount'或'peg_markdown'或 'maruku'或'bluecloth',但没有一个 找到

Can't run Markdown filter; required 'rdiscount' or 'peg_markdown' or 'maruku' or 'bluecloth', but none were found

我正在使用Rails 3.0.5,我缺少什么?

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.

这篇关于带有降价声明的haml找不到rdiscount的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆