/usr/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:215:in `fetch_http': bad response Not Found 404 (http://bb-m.rubygems.org/quick/Marshal.4.8/activesupport-3.2.11.gemspec.rz)
I usually just use that one for my apps, much faster than rubygems.org
gem "rails", :github => "rails/rails", :tag => 'v3.2.11'
$ cd <deploy-path> && bundle install --gemfile Gemfile --path <shared-path>/bundle --without development test
Edit: finally got it out. This deploy model is completely screwed, though. It just shouldn't be normal to have a service like rubygems.org in the daily deploy loop. This is absolutely not a knock on the fantastic volunteers that run it - they simply shouldn't be dealing with this sort of load spike.