无法在OSX 10.11中安装CocoaPods

时间:2016-05-28 12:12:06

标签: ios iphone xcode rubygems cocoapods

终端上的错误显示

SSMAC100s-Mac:~ssmac100 $ sudo gem install cocoa pods

密码:

错误:执行gem时...(Gem :: RemoteFetcher :: FetchError)     Errno :: ETIMEDOUT:操作超时 - 连接(2)(https://rubygems.org/quick/Marshal.4.8/cocoapods-1.0.0.gemspec.rz

1 个答案:

答案 0 :(得分:0)

试试这个对我有用。

sudo gem install -n /usr/local/bin cocoapods