starX 2015-10-16
sudo gem install -n /usr/local/bin cocoapods
sudo gem install -n /usr/local/bin leancloud
在stackoverflow搜到的解释是这样的,This is happening because Apple has enabled rootless on the new install,也就是说在10.11系统上苹果已经启用无根的安装。在这种情况下,如果你使用如下的命令:
sudo gem install cocoa pods -v
就会出现这样的提示:
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod。