1、更新gem
sudo gem update --system
2、删除旧源
gem sources --remove https://rubygems.org/
3、添加taobao源
gem sources -a https://ruby.taobao.org
4、安装cocoapods
sudo gem install -n /usr/local/bin cocoapods
1、更新gem
sudo gem update --system
2、删除旧源
gem sources --remove https://rubygems.org/
3、添加taobao源
gem sources -a https://ruby.taobao.org
4、安装cocoapods
sudo gem install -n /usr/local/bin cocoapods
本文标题:OS X EI Capitan 安装 Cocoapods
本文链接:https://www.haomeiwen.com/subject/wvwakttx.html
网友评论