# RedCloth and Rails

**URL:** <https://www.ruby-forum.com/t/redcloth-and-rails/82032>\
**Category:** Ruby\
**Created:** [January 16, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/redcloth-and-rails/82032 "2007-01-16T23:08:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [January 16, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/redcloth-and-rails/82032/1 "2007-01-16T23:08:57Z")

</div>

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?
