问题描述
- 总是提示如下的信息 但是所有的安装过程都没有错误啊&
- /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)
gem env
Checked in 'GEM_PATH=/Users/luyang/.rvm/gems/ruby-2.1.1:/Users/luyang/.rvm/gems/ruby-2.1.1@global' executefor more information
to_spec'
from /Users/luyang/.rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:324:in
from /Users/luyang/.rvm/rubies/ruby-2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:58:ingem'
'
from /Users/luyang/.rvm/rubies/ruby-2.1.1/bin/pod:22:in
解决方案
请问 你问题解决了吗 我也遇见同样的问题 不知道怎么去解决
解决方案二:
我遇到这问题了,楼主解决了没有?请教一下!
解决方案三:
sudo nvram boot-args=""kext-dev-mode=1 rootless=0""sudo reboot//关机再开机
开机 -> 按 option 进入恢复模式 -> csrutil disable -> 然后重启进入系统 -> sudo gem install cocoapods
时间: 2024-09-19 09:12:11