From: Wybo Dekker Date: 2005-12-10T19:00:00+09:00 Subject: Re: ...rubygems... in require: no such file to load On Fri, 9 Dec 2005, Jim Weirich wrote: > wybo wrote: > > I have a script requiring rubygems, rio, and more, plus a module in a > > non-standard directory. It works fine on my machine, but not on the > > machine of a friend. > > > [...] > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:26:in `require': No > > such file > > to load -- testme (LoadError) > > from ./testme:8 > > > > What's wrong? Something with the rubygems installation? > > (1) Double check that testme is truely installed in the > /home/rrt/local/lib/site_ruby/1.8. > > (2) Make sure the file can be loaded correctly. > > Try soemthing like this to see if it sheds any light: > > load '/home/rrt/local/lib/site_ruby/1.8/testme.rb' Thanks, Jim. This helped: we finally found out that the session gem wasn't installed, but another session.rb was loaded instead. -- Wybo