search

Home  >  Q&A  >  body text

ruby - 安装cocoapods的坑

按照网址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...

大家讲道理大家讲道理2771 days ago624

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-04-25 09:04:09

    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/

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-25 09:04:09

    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/

    reply
    0
  • Cancelreply