Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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_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?

like image 526
Vadim Avatar asked Dec 01 '22 08:12

Vadim


1 Answers

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

like image 77
Vadim Avatar answered Dec 05 '22 01:12

Vadim