Installing CocoaPods on OS X 10.11
These instructions were tested on all betas and the final release of El Capitan.
Custom GEM_HOME
This is the solution when you are receiving the "Operation not permitted" error.
$ mkdir -p $HOME/Software/ruby
$ export GEM_HOME=$HOME/Software/ruby
$ gem install cocoapods
[...]
1 gem installed
$ export PATH=$PATH:$HOME/Software/ruby/bin
$ pod --version
0.37.2
本文提供了一种解决在OS X El Capitan上安装CocoaPods时遇到操作未被允许错误的方法。通过设置自定义的GEM_HOME路径,确保了安装过程顺利进行。
6681

被折叠的 条评论
为什么被折叠?



