我跑了:
$ sudo gem install cocoapods
我得到以下输出:
错误:执行gem时...(Gem :: RemoteFetcher :: FetchError) Errno :: ECONNRESET:通过对等方重置连接 - SSL_connect(https://api.rubygems.org/quick/Marshal.4.8/cocoapods-0.36.4.gemspec.rz)
我已经运行了这个命令:
sudo gem update --system