can‘t find gem cocoapods (>= 0.a) with executable pod
Posted PinkJoker
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了can‘t find gem cocoapods (>= 0.a) with executable pod相关的知识,希望对你有一定的参考价值。
终端输入:gem sources
如果存在多个,应该保留https://gems.ruby-china.com/ 删除其他
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
https://rubygems.org
删除指令 gem sources --remove https://rubygems.org
最后查看gem sources
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
这样就对了然后输入
sudo gem update --system
运行结束输入
sudo gem install -n /usr/local/bin cocoapods
更新cocospods成功
pod --version
检查版本
完结
以上是关于can‘t find gem cocoapods (>= 0.a) with executable pod的主要内容,如果未能解决你的问题,请参考以下文章
can‘t find gem cocoapods (>= 0.a) with executable pod
redis-dump之can‘t find gem redis-dump
openSUSE 安装compass,mkmf.rb can't find,checking for ffi.h...extconf.rb failed
无法将 cocoapods 从 1.0.0 升级到 1.0.1
find_spec_for_exe': 找不到 gem bundler (>= 0.a) (Gem::GemNotFoundException)