When I run
$ gem install cocoapods I get
Fetching: i18n-0.7.0.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. I've read this post cocoaPods pod install Permission denied but the answer there doesn't say whether it is correct to run sudo on your gem install (despite being asked in the Question - i.e. Is sudo installation of cocoaPods the wrong way or normal way? ).