ruby - 安装cocoapods的坑
大家讲道理
大家讲道理 2017-04-25 09:02:09
0
2
626

按照网址http://blog.csdn.net/fairytal...里面的流程我到了安装cocoapods这里然后碰到了这个
$ sudo gem install cocoapods
Password:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems-china.oss-cn...
在网上找到了这几个东西,但是感觉不太一样http://stackoverflow.com/ques...

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
我想大声告诉你

gem install is the process of getting components from the internet, but unfortunately these components are hosted on Amazon by default and AWS is blocked.
So you need to switch the source. For details, please refer to http://gems.ruby-china.org/

大家讲道理

gem source is blocked, switch source
gemfile modification
source 'https://ruby.taobao.org/
The above one has been relatively less maintained, you can use
https://gems.ruby-china.org/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template