问题解决的最好方法方法

使用google的DNS 8.8.8.8 / 8.8.4.4

另一种解决方式

修改rubygems的source源

$ gem source -r http://rubygems.org/
$ gem source -r http://production.s3.rubygems.org/
增加新source源
$ gem source -a http://production.s3.ru

如果使用Bundler

修改你的 Gemfile 将 http://rubygems.org 改为 http://ruby.taobao.org/

来源:
http://blog.banban.me/blog/2012/03/26/she-zhi-gemyuan-%2Cjie-jue-xia-zai-man-de-wen-ti/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-22
  • 2021-11-09
  • 2022-12-23
  • 2022-01-03
  • 2021-12-22
  • 2021-07-24
相关资源
相似解决方案