Matt Connolly's Blog

my brain dumps here…

Tag Archives: rubygems

Mac OS X SnowLeopard upgrading RubyGems

I looked around for a while on how to upgrade ruby gems to >= 1.3.6 so I could install rails 3 on Mac OS X 10.6 Snow Leopard.

It’s actually really easy:

$ sudo gem install rubygems-update
Successfully installed rubygems-update-1.6.2
Successfully installed rubygems-update-1.6.2
1 gem installed
Installing ri documentation for rubygems-update-1.6.2...
Installing RDoc documentation for rubygems-update-1.6.2...
$ sudo gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.6.2
Updating RubyGems to 1.6.2
Installing RubyGems 1.6.2
RubyGems 1.6.2 installed

=== 1.6.2 / 2011-03-08

Bug Fixes:

* require of an activated gem could cause activation conflicts.  Fixes
  Bug #29056 by Dave Verwer.
* `gem outdated` now works with up-to-date prerelease gems.

------------------------------------------------------------------------------

RubyGems installed the following executables:
	/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem

$ gem -v
1.6.2

Done. Easy as.

Advertisements