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’
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:in rescue 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.
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.
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.