Home > Apple, Mac, OS X, Ruby > Update RubyGems to new Version on Leopard

Update RubyGems to new Version on Leopard

April 3rd, 2008

RubyGems just updated to version 1.1.0. Couple of the major changes are “Index updates are much faster now” and “only updates from a latest index by default”. So, time to update.

As Leopard already has Ruby and RubyGems preinstalled (Thanks, Apple!). So the default update way:

$ sudo gem update –system

will NOT work well.

Here is what you should do on Leopard 10.5.2:

$ sudo gem install rubygems-update
$ sudo update_rubygems

Enjoy!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • StumbleUpon
  • TwitThis

Apple, Mac, OS X, Ruby , , , , ,

  1. swr
    April 3rd, 2008 at 18:16 | #1

    Works great! Thanks!

  2. Geoff
    April 4th, 2008 at 09:40 | #2

    Thank you, been bashing my head against the gem update –system method trying to get it to work.

  3. September 13th, 2008 at 00:38 | #3

    brilliant, thank you! Was searching all over to find a solution for leopard…

  4. Poster
    July 8th, 2009 at 05:12 | #4

    thanks!

  5. August 24th, 2009 at 18:24 | #5

    On Leopard 10.5.6, I executed the following which also got RubyGems to update:

    sudo gem update RubyGems
    sudo gem update –system

    I had executed the first command in my comment before I came to this site, which caused the rubygems-update install command to fail. I hope this helps someone who may have gone the same route I did.

  6. September 1st, 2009 at 23:21 | #6

    On Leopard 10.5.8 the following error message was displayed for me when executing the above mentioned commands: “requires RubyGems version >= 1.3.1″
    I had success by executing the following:

    sudo gem update rubygems-update
    sudo update_rubygems

  1. February 26th, 2009 at 06:51 | #1
  2. June 20th, 2009 at 06:30 | #2