Rails 关于 ruby.taobao.org 的设置问题

powermedia · May 04, 2015 · Last by davidminaki replied at May 04, 2015 · 2293 hits

今天测试部署 Rails 项目,Gemfile 里设置为淘宝的源如下

source 'https://ruby.taobao.org'

在阿里云里部署时 bundle install 时直接被 Killed 然后换成默认的:

source https://rubygems.org

换成默认之后是可以 bundle install 了,但是还是有的 gem 无法安装,提示:

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect.....

最后把源由 https 改为了 http,一切 ok!

遇到了同样的问题

You need to Sign in before reply, if you don't have an account, please Sign up first.