[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

RedCloth and Rails

psychotron

1/16/2007 10:01:00 PM

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?



--
Alberto Careccia - http://w...
"The only thing that I know is that I don't know anything" -Socrates