使用devkit为ruby安装gem

时间:2016-04-18 05:38:41

标签: ruby-on-rails ruby rubygems

 GEM CONFIGURATION:
  - :update_sources => true
  - :verbose => true
  - :backtrace => false
  - :bulk_threshold => 1000
  - :sources => []
 REMOTE SOURCES:

我收到此错误

>PS C:\Windows\system32> gem sources --add https://rubygems.org
Error fetching https://rubygems.org:
        Errno::ECONNRESET: An existing connection was forcibly closed by the remote host. - SSL_coygems.org/specs.4.8.gz)

1 个答案:

答案 0 :(得分:0)

如果您的计算机有某种防火墙,请尝试在没有ssl的情况下添加http://rubygems.org