From: Jim Weirich Date: 2006-01-14T03:51:58+09:00 Subject: Re: question about require mr ra88it wrote: > but that didn't work because the gems were not loaded (at least I > think that's why I got an error). So, instead I did this: > > irb(main):002:0> require 'rubygems' > => true > irb(main):003:0> require 'redcloth' > => false See Ruby-talk:174387 (http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/174387) > > Incidentally, if I follow the instructions from the Pickaxe I get an > error: > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require_gem 'redcloth' > Gem::LoadError: Could not find RubyGem redcloth (> 0.0.0) Because the name of the gem is 'RedCloth', not 'redcloth'. Yes, case matters when requiring gems. (Probably shouldn't ... I'll make a note of that). -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.