Best gem questions in January 2012

Where can I install gems from when rubygems.org is down?

6 votes

Currently Rubygems.org is down - the website reports an error, and a few gem install tasks are returning 500 errors.

Is there a mirror / backup source of gem files, or is rubygems.org essentially a single point of failure within the ruby gem installation process ?

As per several folks on Twitter, add this to your Gemfile:

source 'http://production.cf.rubygems.org'

Also, if you're not using Bundler then just run:

$ gem source -a 'http://production.cf.rubygems.org'

For the record, the folks on Twitter include:

laizer, iltempo, and jimneath. Major thanks to them for saving my morning :)