给电脑用户加权限:
1.前往文件夹 /usr
2.找到local文件夹,右键显示简介,底部锁头解锁,加用户,应用到包含的项目
搞定!!你可以愉快的装ruby了
重装 cocoapod -- http://blog.csdn.net/qtds8810/article/details/50510910
cocoapod 更换镜像源
先查看当前镜像源: gem source -l
LomodeMacBook-Air:~ lomo$ gem source -l
*** CURRENT SOURCES ***
https://ruby.taobao.org/
LomodeMacBook-Air:~ lomo$ gem sources --add https://gems.ruby-china.org/
https://gems.ruby-china.org/ added to sources
LomodeMacBook-Air:~ lomo$ gem source -l
*** CURRENT SOURCES ***
https://ruby.taobao.org/
https://gems.ruby-china.org/
LomodeMacBook-Air:~ lomo$ gem source --remove https://ruby.taobao.org/
https://ruby.taobao.org/ removed from sources
LomodeMacBook-Air:~ lomo$ gem source -l
*** CURRENT SOURCES ***
https://gems.ruby-china.org/
LomodeMacBook-Air:~ lomo$