From: ara.t.howard@... Date: 2006-07-04T02:53:09+09:00 Subject: Re: Problem with rubygems (and postgres) On Tue, 4 Jul 2006, Joe Van Dyk wrote: > Hi, > > I've got Ruby 1.8.4 compiled and installed on a Ubuntu box. I > installed rubygems 0.8.11. I then installed the postgres gem. > Everything went ok. Doing a "gem list postgres" shows the postgres > gem. > > So, when I fire up irb and do > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'postgres' > LoadError: no such file to load -- postgres > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > from (irb):2 > > > That's not good. Why???! > > Thanks, > Joe do you have two instances of ruby installed? perhaps /usr/bin/ruby and /usr/local/bin/ruby? if so you probably also have /usr/bin/gem but only /usr/local/bin/irb regards. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama