I have a problem using RedCloth in my local application. I keep getting the following error:
uninitialized constant ActionView::CompiledTemplates::RedCloth
This is because I have the following code:
<%= RedCloth.new("Some text").to_html %>
I tried to do this in the environment.rb file:
require "RedCloth"
However, when I do this, I get a huge error with my Phusion Passenger + Nginx configuration, which I described in detail in the following forum: http://railsforum.com/viewtopic.php?id=42560
Any help would be great. Thank!
source
share