4

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 Answer 1

21

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

4
  • 1
    Yeah, got same problem with gem recently, reinstalled it 5 times before restarting the server :)
    – methyl
    Mar 24, 2011 at 20:21
  • 1
    @vadim I keep remembering and forgetting, and you reminded me again :)
    – Daniel May
    Sep 8, 2012 at 21:30
  • 1
    Turns out there are at least nine other idiots out there. Honored to be part of the club!
    – user657199
    Nov 19, 2012 at 20:37
  • 1
    Working in IT support apparently taught me nothing. I have StackOverflow open faster than I can say "try turning it off and on again".
    – lime
    Aug 2, 2013 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.