设置gem源,解决下载慢的问题

问题解决的最好方法方法ruby

使用google的DNS 8.8.8.8 / 8.8.4.4google

另外一种解决方式blog

修改rubygems的source源get

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

若是使用Bundlerfile

修改你的 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/gem

相关文章
相关标签/搜索