1.gem sources --remove http://ruby.taobao.org/ //移除原文件地址
2. gem sources -a https://ruby.taobao.com/ //添加新文件地址
3.gem sources -l //查看源文件地址是否正确
4.sudo gem install cocoapods //更新
1.gem sources --remove http://ruby.taobao.org/ //移除原文件地址
2. gem sources -a https://ruby.taobao.com/ //添加新文件地址
3.gem sources -l //查看源文件地址是否正确
4.sudo gem install cocoapods //更新