`
fengsuiypiao
  • 浏览: 5343 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Fix for "Errno::ETIMEDOUT: Operation timed out - connect(2)" when installing g

 
阅读更多
# 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/
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics