bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)
- 在升级之前我们需要了解当前安装的Ruby源地址:
gem source -l
2.https://ruby.taobao.org/淘宝的源已经不再维护
https://gems.ruby-china.org/腾讯的这个org的源也不存在了
3.更换为:https://gems.ruby-china.com
gem sources --remove https://gems.ruby-china.org/
gem sources -l
gem sources -a https://gems.ruby-china.com
4.再次安装CocoaPods
sudo gem install cocoapods
- 查看下CocoaPods的版本
pod --version