ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Use - sudo gem update --system
Operation not permitted - /usr/bin/xcodeproj
Error
See - CocoaPods/CocoaPods#3692
====
- Install
rbenv
and then Ruby 2.2.2 - Set Ruby to 2.2.2
sudo gem install activesupport -v 4.2.6
sudo gem install cocoapods