Updating Rubygems on an Old 10.5 Leopard Machine

I ran into this problem today when trying to update my ruby gems on a fresh OSX 10.5 machine for testing:

Updating RubyGems…
ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 302 fetching

After a little googling I saw where gems were stored on S3 so I just added the —source option and that worked. Here is the command for posterity.

gem update —system —source