group_id=126&release_id=16500 * `gem install rubygems-update-0.9.5.gem` * `update_rubygems` To install Ruby Gems from scratch: * Download Ruby Gems source or file from When filing a bug, `gem env` output will be helpful in diagnosing the issue.group_id=126&release_id=16500 * Unpack the source or * `ruby setup.rb` To install Ruby Gems on Ruby 1.9 update your ruby trunk checkout and reinstall. If you find a bug where Ruby Gems crashes, please provide debug output. For example: $ gem --debug unknown_command Exception `Runtime Error' at [...]/rubygems/command_manager.rb:114 - Unknown command unknown_command ERROR: While executing gem ...
Ruby Gems allows this via the GEM_PATH and GEM_HOME environment variables.
They most likely should of disabled the 'system' update feature so that it wasn't possible to do what I did.
On the other hand if the upstream Ruby Gems would actually allow for the concept that it may live in /usr/lib but not be allowed to manipulate anything there it would make life a lot easier.
The automatically chosen platform may be overridden with the --platform option.
The dependency, fetch, install, outdated, specification, uninstall and update commands all respond to --platform.