2 qq 16804091 qq_16804091 于 2014.11.25 14:12 提问

总是提示如下的信息 但是所有的安装过程都没有错误啊&

/Users/luyang/.rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:315:in to_specs': Could not find 'cocoapods' (>= 0) among 13 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/luyang/.rvm/gems/ruby-2.1.1:/Users/luyang/.rvm/gems/ruby-2.1.1@global', execute
gem envfor more information
from /Users/luyang/.rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:324:in
to_spec'
from /Users/luyang/.rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:58:in gem'
from /Users/luyang/.rvm/rubies/ruby-2.1.1/bin/pod:22:in
'

3个回答

sear7reen
sear7reen   2015.11.13 10:01
sudo nvram boot-args="kext-dev-mode=1 rootless=0"
sudo reboot//关机再开机

开机 -> 按 option 进入恢复模式 -> csrutil disable -> 然后重启进入系统 -> sudo gem install cocoapods

yd_xx93
yd_xx93   2015.08.27 01:35

请问 你问题解决了吗 我也遇见同样的问题 不知道怎么去解决

baidu_32012591
baidu_32012591   2015.10.14 17:56

我遇到这问题了,楼主解决了没有?请教一下!

Csdn user default icon
上传中...
上传图片
插入图片