RedCloth error

add in enviroment.rb
config.gem “RedCloth”

anton effendi wrote:

add in enviroment.rb
config.gem "RedCloth"

Any idea???
Posted via



Senior Rails Developer
Anton Effendi - Wu You Duan

Thanks for your reply.

I have written the code that you have told. I have also tried following
--> config.gem "RedCloth"
--> config.gem "RedCloth", :lib => "redcloth", :version => "4.2.2"

But I still get the error as:
" NameError (uninitialized constant Rails::Plugin::RedCloth) "

I have installed gem RedCloth 4.2.2 & 4.2.1

Help me out of this....

have u tried copy that gem into vendor/gems?