From: Eric Hodel Date: 2007-08-09T11:12:33+09:00 Subject: Re: a problem 'require'ing On Aug 8, 2007, at 18:13, Simon Schuster wrote: > an update: I CAN require 'rubygems' if I start irb from the > /usr/lib/ruby/1.8 directory, which is where I found rubygems.rb ... > there's also this: > > irb(main):003:0> $: > => ["/usr/local/lib/site_ruby/1.9", > "/usr/local/lib/site_ruby/1.9/i486-linux", > "/usr/local/lib/site_ruby/1.9/i386-linux", "/usr/local/lib/site_ruby", > "/usr/lib/ruby/1.9", "/usr/lib/ruby/1.9/i486-linux", > "/usr/lib/ruby/1.9/i386-linux", "."] > > the "." being the only reason it found rubygems this time. so, that > being the problem, I'm having a bit of a problem finding how can I > change/add paths for irb/ruby/wherever that's configured. You need to install rubygems for ruby 1.9 as well as 1.8. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars