2014-03-03 57 views
1

這是我第一次使用CocoaPods.I已經跑sudo gem install cocoapods成功,但是當我跑 pod setup ,我得到了華林和錯誤吊艙安裝失敗,「不安全的世界可寫目錄」華林和「RPC失敗」錯誤

Setting up CocoaPods master repo 
/Library/Ruby/Gems/1.8/gems/cocoapods-0.29.0/lib/cocoapods/executable.rb:55: warning: Insecure world writable dir /usr/local in PATH, mode 040777 
[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master 

Cloning into 'master'... 
error: RPC failed; result=56, HTTP code = 200 

fatal: The remote end hung up unexpectedly 

fatal: early EOF 

fatal: index-pack failed 

我的電腦系統是OS X 10.8.5。

回答