RedCloth and Rails

P

Psychotron

With my hoster i don't have the RedCloth gem.
I've unpacked the gem in the vendor dir and thought that all
automagically was functioning. :)
But after googling i've added a line to my environment.rb :

require 'RedCloth-3.0.4/lib/redcloth' unless
Object.const_defined?:)RedCloth)

Ok, now i can use RedCloth.new...and so.., but why i can't use the
textilize function that i've used before with the RedCloth gem
installed?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top