From: Michael Glaesemann Date: 2006-11-15T00:25:44+09:00 Subject: Re: gem query finds gem, yet require fails On Nov 12, 2006, at 23:28 , Michael Glaesemann wrote: > The bindings appeared to install correctly. Using gem query, I can > see: > > > *** LOCAL GEMS *** > > postgres (0.7.1) > The extension library to access a PostgreSQL database from Ruby. > > sources (0.0.1) > This package provides download sources for remote gem installation > > However, when testing with irb to see if the postgres gem can be > found, I get: > > $ which ruby > /usr/local/bin/ruby > $ which irb > /usr/local/bin/irb > $ irb > 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:27:in `gem_original_require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require' > from (irb):2 > > I'm stumped. On my primary machine, the above two commands work > just fine in irb. Any ideas at all on this? I'm really stuck. Or perhaps how to make sure I've completely uninstalled Ruby and rubygems so I can maybe try installing again? As an aside, how could I make this message more likely to get a response? I seem to have lost my knack. Thanks for any suggestions on either issue :) Michael Glaesemann grzm seespotcode net