1.ruby升级最新

sudo gem update -n /usr/local/bin --system

2.

$ gem sources

*** CURRENT SOURCES ***
https://rubygems.org/
3.移除
gem sources --remove https://rubygems.org/
4.添加
gem
sources --remove https://taobao.org/

5.查看gem sources

6.gem install cocoapods

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-07-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-08-22
  • 2022-12-23
  • 2021-05-24
相关资源
相似解决方案