Installing CocoaPods "Operation not permitted" error

来源:互联网 发布:中国统计年鉴2016数据 编辑:程序博客网 时间:2024/05/29 06:50

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 --version0.37.2
0 0