I tried to use
/Library/Ruby/Site/2.0.0/rubygems/dependency.rb:318:in 'to_specs': Could not find 'cocoapods' (>= 0.a) among 35 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/admin/.gem/ruby/2.0.0:/Library/Ruby/Gems/2.0.0:/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0', executefor more information
from /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:327:in 'to_spec'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb:64:in 'gem'
from /usr/local/bin/pod:22:in `'
First of all Uninstall CocoaPods using sudo command.
Follow below steps :
sudo gem uninstall cocoapods
gem install cocoapods
When you install again then do not use
You can find for sudo less installation from here.