宝石没有安装,显示连接错误 [英] Gem not installing, showing connection error
问题描述
当我在创建新的gemset之后尝试安装gem之类的捆绑器或rake时,它不安装
,但是如果我安装了旧版本,它对我来说工作正常。这里是安装宝石时的错误日志
gem install rake
$ b $ (gem :: RemoteFetcher :: FetchError) $ b $($ p code $)获取:rake-0.9.2.2.gem(7%)错误:执行gem时b
太多的连接重置(http://cachefly.mirrors.rubygems.org/gems/rake-0.9.2.2.gem)
<这个问题是由cachefly服务器造成的。
看起来,这些人在rubygems.org上禁用这个镜像,然后人们的下载能够继续成功。
在rubygems.org上有一个线程讨论此问题。
When I try to install gem like bundler or rake after creating new gemset , its not installing ,but if i intall old version its working fine for me . Here are the error logs while installing gems
gem install rake
Fetching: rake-0.9.2.2.gem ( 7%)ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
too many connection resets (http://cachefly.mirrors.rubygems.org/gems/rake-0.9.2.2.gem)
This problem was caused by the cachefly server.
It seems that the folks over at rubygems.org disabled this mirror and then people's downloads were able to continue successfully.
There is a thread over at rubygems.org discussing this issue.
这篇关于宝石没有安装,显示连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!