标签:成功 文件 file frame director 3.1.1 最新 ati stat
bogon:Snail chenwei$ pod install
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or director
找不到ruby 文件
首先要保证 更新 gem是最新的
sudo gem update --system
之后再更新 cocoapods ,不更新gem不可以
sudo gem install -n /usr/local/bin cocoapods
成功:
bogon:Snail chenwei$ pod install
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (3.1.0)
Using CommonElement (0.2.2)
Using MJRefresh (3.1.12)
Using Masonry (1.0.2)
Using XHLaunchAd (3.0.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 5 dependencies from the Podfile and 5 total pods installed.
标签:成功 文件 file frame director 3.1.1 最新 ati stat
原文地址:http://www.cnblogs.com/chenwei-dcav/p/7891726.html