Update RubyGems to new Version on Leopard
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!
Works great! Thanks!
Thank you, been bashing my head against the gem update –system method trying to get it to work.
brilliant, thank you! Was searching all over to find a solution for leopard…
[...] por ai, encontrei um post que resolveu meu problema. Basta instalar a gem rubygems-update e então executar [...]
[...] this works on Mac as [...]
thanks!
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.
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