84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
gem install mongrel
返回错误信息:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many connection resets (http://rubygems.org/gems/gem_plugin-0.2.3.gem)
ruby新手,请问怎么处理呢?
光阴似箭催人老,日月如移越少年。
Is rubygems blocked?
See http://www.cnblogs.com/varlxj/archive/2011/10/16/2211004.html, try adding gem sources -a http://ruby.taobao.org/?
gem sources -a http://ruby.taobao.org/
rubygems source is blocked intermittently. It is recommended to use Taobao. There are specific settings http://ruby.taobao.org/
If you have a GemFile, just at the top of the GemFile
source 'http://ruby.taobao.org'
If you use rvm, type this command
sed -i -e 's/ftp\.ruby-lang\.org\/pub\/ruby/ruby\.taobao\.org\/mirrors\/ruby/g' ~/.rvm/config/db
Is rubygems blocked?
See http://www.cnblogs.com/varlxj/archive/2011/10/16/2211004.html, try adding
gem sources -a http://ruby.taobao.org/
?rubygems source is blocked intermittently. It is recommended to use Taobao. There are specific settings http://ruby.taobao.org/
If you have a GemFile, just at the top of the GemFile
If you use rvm, type this command