title: Could not find 'cocoapods' (>= 0) among N total gem(s) (Gem::LoadError)
body: <p>When I am trying to <code>pod install</code>, getting following issue:</p>
  
  <pre><code>Faizs-MBP:newj faizfareed$ pod install
  /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'cocoapods' (&gt;= 0) among 50 total gem(s) (Gem::LoadError)
  Checked in 'GEM_PATH=/Users/faizfareed/.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', execute `gem env` for more information
      from /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:324: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 `&lt;main&gt;'
  Faizs-MBP:newj faizfareed$ 
  </code></pre>
  
  <p>You can also find attached <a href="https://i.stack.imgur.com/JtoP5.png" rel="noreferrer">detailed image</a> for above error.</p>
  
  <p>Could anyone sort out this issue???</p>
  
  <hr>
  
  <p>I've followed your instructions &amp; uninstalled all gem. but when I tried to install cocoapods it is giving following error.</p>
  
  <p><a href="https://i.stack.imgur.com/dk9wN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dk9wN.png" alt="enter image description here"></a></p>
  
  <p>Please advice. . .</p>
  
  <p>Thanks</p>