-
-
Save seyyah/2366874 to your computer and use it in GitHub Desktop.
Fix for "Errno::ETIMEDOUT: Operation timed out - connect(2)" when installing gems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A DNS change to Rubygems.org is causing lingering issues. Namely, | |
# rubygems.org and production.s3.rubygems.org are still pointing to | |
# the old address. See: | |
# http://twitter.com/#!/gemcutter/status/30666857698557952 | |
# The symptoms: | |
# $ gem install benelux --version 0.5.17 | |
# ERROR: Could not find a valid gem 'benelux' (= 0.5.17) in any repository | |
# ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) | |
# Errno::ETIMEDOUT: Operation timed out - connect(2) (http://rubygems.org/latest_specs.4.8.gz) | |
# The fix: | |
# gem source -r http://rubygems.org/ | |
# gem source -r http://production.s3.rubygems.org/ | |
# gem source -a http://production.s3.rubygems.org.s3.amazonaws.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment