RubyGems 1.3.5

drbrain | Wed, 22 Jul 2009 00:37:47 GMT

Posted in ,

RubyGems is a package management framework for Ruby.

See Gem for information on RubyGems (or `ri Gem`)

To upgrade to the latest RubyGems, run:

  $ gem update --system  # you might need to be an administrator or root

NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no
rubygems-update installed. You will need to use the following instructions
if you see “Nothing to update”.

If you have an older version of RubyGems installed, then you can still do
it in two steps:

  $ gem install rubygems-update  # again, might need to be admin/root
  $ update_rubygems              # ... here too

If you don’t have any RubyGems install, there is still the pre-gem
approach to getting software, doing it manually:

  1. Download from: rubyforge.org/frs/?group_id=126
  2. Unpack into a directory and cd there
  3. Install with: ruby setup.rb # you may need admin/root privilege

For more details and other options, see:

  ruby setup.rb --help

Changes

Bug fixes:

  • Fix use of prerelease gems.
  • Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.

Deprecation Notices:

  • Bulk index update is no longer supported (the code currently remains, but
    not the tests)
  • Gem::manage_gems was removed in 1.3.3.
  • Time::today was removed in 1.3.3.
comments

Comments RSS FEED

Thanks for the update, Eric.

One issue in the instructions above:

I think it should be:
gem update —system

instead of “gem install —system”

John said about 1 hour later

yup, fixed it, thanks!

Eric Hodel said about 21 hours later

Comments are disabled