I’m trying to bundle gems for my app in production machine and it consistently failed today with this error message:
Gem::RemoteFetcher::FetchError: too many connection resets (http://cachefly.mirrors.rubygems.org/gems/json-1.6.5.gem)
Is there any reason that bundle is trying to fetch from a down mirror rather than the main website? I can still download the gem file from http://rubygems.org/gems/json-1.6.5.gem
rubygems.org redirects that request. It has nothing to do with bundler.