[Rubygems-developers] Userdir install and GEM_HOME when doing: gem update --system

Eric Hodel drbrain at segment7.net
Thu Apr 19 12:21:06 EDT 2007

On Apr 18, 2007, at 16:28, Richard Michael wrote:
> Where do I file bug reports

On the rubygems project on rubyforge.

> and/or ask for support for rubygems?


> I only found this -developers list on rubyforge.  Is there a -users  
> list
> somewhere?


> I have rubygems installed, as per the docs, in a user directory and
> have my environment as:
> GEM_HOME=/home/testuser/ruby/lib/ruby/gems/1.8
> RUBYLIB=/home/testuser/ruby/lib/ruby:/home/rmichael/ruby/lib/ruby/ 
> site_ruby/1.8
> RUBY_PREFIX=/home/testuser/ruby
> "gem update --system" doesn't appear to honour GEM_HOME, and it  
> wants to
> install into /usr/bin/ (e.g. /usr/bin/gemwhich), as seen below.
> What's more, "gem update" reports "Rubygems system software updated",
> although it hasn't been, as it errored out during install.
> Aside, what's the best way to fix this?  At the moment, I switch to  
> the
> downloaded rubygem update (e.g. GEM_HOME/gems/rubygems-update-0.9.2/),
> then run the install sequence again:
>   ruby setup.rb config --prefix=$GEM_HOME
>   ruby setup.rb setup
>   ruby setup.rb install

Please check to see if a bug has been filed on this, and if it  
hasn't, please file one.

More information about the Rubygems-developers mailing list