标签:
最近各种错误, 全部刷新 再说
$ sudo gem update --system // 先更新gem $ gem sources --remove https://rubygems.org/ $ gem sources -a https://ruby.taobao.org/ $ gem sources -l //查看ruby地址 $ sudo gem install cocoapods // 安装cocoapods $ pod setup
如果
sudo gem install cocoapods
提示这个
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod
sudo gem install -n /usr/local/bin cocoapods
标签:
原文地址:http://www.cnblogs.com/willbin/p/5885963.html