From: Luis Lavena Date: 2008-01-06T09:54:57+09:00 Subject: Re: Ruby/IRB not seeing installed Gems, thoughts? On 5 ene, 22:21, Matthew Williams wrote: > Using "gem query --local" I'm returned a list of installed gems, one of > which is called "relax". > > However, within the IRB I cannot require this gem. Setting up a simple > Ruby script I cannot do an include on it either as it returns a message > that it can't find the gem. > > ------------- > > irb(main):001:0> require 'relax' > LoadError: no such file to load -- relax > from (irb):1:in `require' > from (irb):1 > irb(main):002:0> require 'test/unit' > => true > irb(main):003:0> > > -------------- > You didn't tried: require 'rubygems' require 'relax' AFAIK, there is no RUBYOPT set under Darwin that automatically loads rubygems. Try doit manually. HTH, -- Luis Lavena