修改gem下载源

ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/quick/Marshal.4.8/bigdecimal-1.2.7.gemspec.rz)

$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org

转载于:https://www.cnblogs.com/qinyan20/p/4475697.html

你可能感兴趣的:(修改gem下载源)