# RedCloth not found

**URL:** <https://www.ruby-forum.com/t/redcloth-not-found/206963>\
**Category:** Rails\
**Created:** [May 14, 2011, 2:12pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963 "2011-05-14T14:12:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 14, 2011, 2:12pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963/1 "2011-05-14T14:12:59Z")

</div>

Hi,

I’m learning RoR and I have a problem with RedCloth.

I have installed it by gem install RedCloth and I have it in my path.  
But when I require it, it is not found.

irb(main):001:0\> require ‘rubygems’  
=\> nil  
irb(main):002:0\> require ‘redcloth’  
LoadError: no such file to load – redcloth  
from  
/usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active\_support/dependencies.rb:239:in  
`require' from /usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in`require’  
from  
/usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active\_support/dependencies.rb:225:in  
`load_dependency' from /usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in`new\_constants\_in’  
from  
/usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active\_support/dependencies.rb:225:in  
`load_dependency' from /usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in`require’  
from (irb):2

What did I forget ?  
Thanks

---

<div class="post-metadata">

**Author:** ![ulrar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ecae2f/32.png) [@ulrar](https://www.ruby-forum.com/u/ulrar)\
**Post date:** [May 14, 2011, 2:30pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963/2 "2011-05-14T14:30:12Z")

</div>

On May 14, 1:12pm, Kevin U. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> LoadError: no such file to load – redcloth  
> /usr/local/lib64/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active\_support/  
> dependencies.rb:596:in  
> Thanks  
> If this is in a rails app, then don’t forget to add it to your bundle

Fred

---

<div class="post-metadata">

**Author:** ![ulrar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ecae2f/32.png) [@ulrar](https://www.ruby-forum.com/u/ulrar)\
**Post date:** [May 14, 2011, 2:32pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963/3 "2011-05-14T14:32:03Z")

</div>

On May 14, 1:28pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> On May 14, 1:12pm, Kevin U. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> If this is in a rails app, then don’t forget to add it to your bundle

and by that I mean add it to your Gemfile

Fred

---

<div class="post-metadata">

**Author:** ![ulrar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ecae2f/32.png) [@ulrar](https://www.ruby-forum.com/u/ulrar)\
**Post date:** [May 14, 2011, 4:00pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963/4 "2011-05-14T16:00:21Z")

</div>

On May 14, 1:47pm, Kevin U. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> By putting
> 
> gem ‘rubygems’  
> gem ‘redcloth’
> 
> in my Gemfile ?  
> If it is that, it makes my another error :

You don’t need gem ‘rubygems’.

> Could not find gem ‘redcloth (\>= 0, runtime)’ in any of the gem sources

The name of the gem is RedCloth

Fred

---

<div class="post-metadata">

**Author:** ![ulrar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ecae2f/32.png) [@ulrar](https://www.ruby-forum.com/u/ulrar)\
**Post date:** [May 14, 2011, 2:47pm UTC](https://www.ruby-forum.com/t/redcloth-not-found/206963/5 "2011-05-14T14:47:26Z")

</div>

By putting

gem ‘rubygems’  
gem ‘redcloth’

in my Gemfile ?  
If it is that, it makes my another error :

Could not find gem ‘redcloth (\>= 0, runtime)’ in any of the gem sources  
listed in your Gemfile.
