RedCloth

RedCloth (4.2.6) was installed via: sudo gem install RedCloth
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
running Ubuntu 10.10

No errors during the install

any ideas??

irb(main):001:0> require ‘rubygems’
=> true
irb(main):002:0> require ‘redcloth’
LoadError: no such file to load – redcloth
from internal:lib/rubygems/custom_require:33:in require' from <internal:lib/rubygems/custom_require>:33:inrescue in
require’
from internal:lib/rubygems/custom_require:29:in require' from (irb):2 from /usr/local/bin/irb:12:in

include it in gem file,then bundle install

Quoting rails.impaired [email protected]:

irb(main):002:0> require ‘redcloth’
LoadError: no such file to load – redcloth
from internal:lib/rubygems/custom_require:33:in require' from <internal:lib/rubygems/custom_require>:33:inrescue in
require’
from internal:lib/rubygems/custom_require:29:in require' from (irb):2 from /usr/local/bin/irb:12:in

irb does not has the same loadpath as Rails. Try the Rails console
instead.

HTH,
Jeffrey

I had already tried it within the Rails console as well. For some
reason, it cannot find “redcloth”. The gem is definitely installed
and I can see redcloth.rb in the lib directory of the installed gem.
This one is really beyond me. It should just work.

suggestions??

On Feb 9, 11:55am, loganathan sellappa [email protected]

On 2/9/2011 11:43 AM, rails.impaired wrote:

irb(main):002:0> require ‘redcloth’
LoadError: no such file to load – redcloth
frominternal:lib/rubygems/custom_require:33:in require' from<internal:lib/rubygems/custom_require>:33:inrescue in
require’
frominternal:lib/rubygems/custom_require:29:in require' from (irb):2 from /usr/local/bin/irb:12:in

Same problem here. I installed 4.2.5 and it works fine.


Jack C.
[email protected]

4.2.6 was released less than 24 hours ago, and I believe it simply has
a typo in the gemspec:

https://github.com/jgarber/redcloth/pull/5

That did the trick!! Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs