From: "ara.t.howard" Date: 2008-07-24T02:35:44+09:00 Subject: Re: Multiple GEM repositories On Jul 23, 2008, at 11:30 AM, Eric Hodel wrote: > Use `gem install`, there is no ./gems/1.8/specifications/, so > RubyGems will not see any gems. yeah just realized that - this is what i did cfp:/tmp > GEM_HOME=./gem_home gem install arrayfields Successfully installed arrayfields-4.6.0 1 gem installed cfp:/tmp > GEM_HOME=./gem_home GEM_PATH=./gem_home ruby -r rubygems - e' p Gem.path; gem "arrayfields", "4.6.0"; p $LOAD_PATH.first(2) ' ["./gem_home"] ["/private/tmp/gem_home/gems/arrayfields-4.6.0/bin", "/private/tmp/ gem_home/gems/arrayfields-4.6.0/lib"] cfp:/tmp > GEM_HOME=./gem_home GEM_PATH=./gem_home:/opt/local/lib/ruby/ gems/1.8/ ruby -r rubygems -e' p Gem.path; gem "arrayfields", "4.6.0"; p $LOAD_PATH.first(2) ' ["./gem_home", "/opt/local/lib/ruby/gems/1.8/"] ["/private/tmp/gem_home/gems/arrayfields-4.6.0/bin", "/private/tmp/ gem_home/gems/arrayfields-4.6.0/lib"] cfp:/tmp > GEM_HOME=./gem_home GEM_PATH=/opt/local/lib/ruby/gems/ 1.8/:./gem_home ruby -r rubygems -e' p Gem.path; gem "arrayfields", "4.6.0"; p $LOAD_PATH.first(2) ' ["/opt/local/lib/ruby/gems/1.8/", "./gem_home"] ["/opt/local/lib/ruby/gems/1.8/gems/arrayfields-4.6.0/bin", "/opt/ local/lib/ruby/gems/1.8/gems/arrayfields-4.6.0/lib"] so indeed, the bug is fixed. thanks! a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama