标签:failed erro ecs ssl china 查看 oba cer connect
rails 安装后调整gem sources 地址
使用https会有认证的问题;
移除原有的:
gem sources --remove https://rubygems.org/
查看当前的:
gem sources -l
添加新的:
gem sources -a https://ruby.taobo.org/
出现认证问题:
Error fetching https://ruby.taobao.org/:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)
或者
gem sources -a https://gems.ruby-china.org/
一样出现问题:
Error fetching https://gems.ruby-china.org/:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)
后来不使用https:
gem sources -a http://gems.ruby-china.org/
修改通过;
标签:failed erro ecs ssl china 查看 oba cer connect
原文地址:http://www.cnblogs.com/stono/p/6715181.html