ruby 开发语言 后端 CocoaPodsg更换国内源提高下载速度 - *** CURRENT SOURCES ***
1、升级
$ gem update --system # 这里请FQ一下. Latest version already installed. Done.
$ gem -v
3.0.3.1
2、更换
$ gem sources --remove https://rubygems.org/ $ gem sources -a http://gems.ruby-china.com/ $ gem sources -l 拼多多帮助力入口
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
成功更换, pod install 的时候明显会快了。也很少出现超时而中断的情况。
参考链接