【发布时间】:2013-12-28 21:27:53
【问题描述】:
使用sudo gem install cocoapods 安装cocoapods 后,尝试运行pod setup 会返回此错误:
Could not find 'cocoapods' (>= 0) among 64 total gem(s) (Gem::LoadError)
sudo gem install cocoapods 的输出:
CHANGELOG:
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.28.0...0.29.0)
• [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0)
• [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.2.0...0.3.0)
[ bug/enhancement notes removed for brevity]
Successfully installed cocoapods-0.29.0
Parsing documentation for cocoapods-0.29.0
1 gem installed
当我列出已安装的 gem 时,我的本地 Gem 中没有列出 cocoapods,但我确实看到 /usr/local/Cellar/ruby/2.0.0-p0/bin 中列出了“pod”。
系统配置:
Mac OS 10.9 (upgraded from 10.8)
Xcode: 5.0.2 (upgrade from 4.x)
Ruby path: /usr/local/Cellar/ruby/2.0.0-p0
我怎样才能让 cocopods 为我工作?
【问题讨论】:
标签: cocoapods