美文网首页
pod install

pod install

作者: 开洋_shen | 来源:发表于2022-04-14 13:51 被阅读0次
pod install
/Library/Ruby/Site/2.0.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.0.0/rubygems.rb:278:in `activate_bin_path'
from /usr/local/bin/pod:22:in `<main>'

第一步
重新安装

rvm reinstall ruby --disable-binary

第二步
卸载安装的cocoapods

sudo gem uninstall cocoapods

第三步

安装

sudo gem install -n /usr/local/bin cocoapods

相关文章

网友评论

      本文标题:pod install

      本文链接:https://www.haomeiwen.com/subject/ujutertx.html