From: Laurent Sansonetti Date: 2007-11-22T06:33:59+09:00 Subject: Re: RubyGems 0.9.5 On Nov 21, 2007 9:35 PM, Eric Hodel wrote: > On Nov 21, 2007, at 10:24 , ara.t.howard wrote: > > On Nov 21, 2007, at 11:07 AM, Laurent Sansonetti wrote: > >> System-wide doesn't necessarily mean /etc, default values for GEM_* > >> could be stored for example in rbconfig.rb, as part of the 1.9 build. > > > > bingo. that sounds like a great idea. > > And this is how RubyGems works right now, *unless* you want to do > something different. > > In that case you have two options: > > a) use GEM_* environment variables > b) patch rbconfig.rb > [...] Well, it's not easy to set up multiple gem repositories from rbconfig.rb... unless you create ENV['GEM_PATH'] there, which should work fine. But creating temporary environment variables from rbconfig.rb seems a bit weird, to me. Laurent