title: Pod MissingSpecError, Ruby, Gem, Cocoapods etc
body: <p>When I run <code>pod</code> I now get</p>
  
  <pre><code>$ pod
  Traceback (most recent call last):
      3: from /usr/local/bin/pod:22:in `&lt;main&gt;'
      2: from /usr/local/Cellar/ruby/2.6.0_1/lib/ruby/2.6.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
      1: from /usr/local/Cellar/ruby/2.6.0_1/lib/ruby/2.6.0/rubygems/dependency.rb:323:in `to_spec'
  /usr/local/Cellar/ruby/2.6.0_1/lib/ruby/2.6.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'cocoapods' (&gt;= 0.a) among 7 total gem(s) (Gem::MissingSpecError)
  Checked in 'GEM_PATH=/Users/User1/.gem/ruby/2.6.0:/usr/local/lib/ruby/gems/2.6.0:/usr/local/Cellar/ruby/2.6.0_1/lib/ruby/gems/2.6.0', execute `gem env` for more information
  </code></pre>
  
  <p>I've tried reinstalling Cocoapods, removing all gems etc.</p>
  
  <p>Somewhere there was a comment about this issue being caused by the wrong path of ruby being referenced, but which should be the "right" one? Everything worked for 4 years but now Pod can't run, I don't get it.</p>