From: Markus Kolb Date: 2006-04-02T20:43:44+09:00 Subject: Re: gems in userdir - Could not find RubyGem ... Jim Weirich wrote: > Markus Kolb wrote: >> Markus Kolb wrote: [...] >>> In $HOME/html is a .gemrc file with configured gemhome and gempath. >>> >>> >>> So what I have to do so that the gem is found at execution? >> Some additional info: >> >> $ irb >> irb(main):001:0> require 'rubygems' >> => true >> irb(main):002:0> require_gem 'rake' >> Gem::LoadError: Could not find RubyGem rake (> 0.0.0) [...] >> irb(main):003:0> require 'rake' >> => true >> irb(main):004:0> >> >> So rake.rb is found but require_gem doesn't find gem rake?! [...] > Add a list of user repositories to the GEM_PATH environment variable. Thank you Jim. Oh, yes, with environment variable GEM_PATH it works. Why not with ..gemrc gempath? Seems that only the gem tool uses that config. Markus