2014-03-03 26 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。

回答