mac 系统升级 后 cocoapods 等命令行不能用
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。
相关推荐
starX 2019-12-15
lijuan0 2019-06-20
邓孟鑫 2017-02-26
sgliquangang 2016-10-18
starX 2015-05-28
AndesStay 2020-06-12
zamesking 2020-06-09
HJWZYY 2020-04-24
sunzxh 2020-03-06
Ben的程序员生涯 2013-06-01
江城守望者 2007-05-28
LUCIEN0 2019-11-04
shumark 2014-07-07
huangcancan 2014-10-20
赫赫小虾 2012-12-24
liyongkuan 2012-03-25
gedoua 2014-03-18