title: Error while installing cocoapods
body: <p>This is happening:</p>
  
  <pre><code>Mac:~ Swanros$ sudo gem install cocoapods
  +Building native extensions.  This could take a while...
  ERROR:  Error installing cocoapods:
      ERROR: Failed to build gem native extension.
  
      rake RUBYARCHDIR=/Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.14.0/ext RUBYLIBDIR=/Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.14.0/ext
  /Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'rake' (&gt;= 0) among 9 total gem(s) (Gem::LoadError)
      from /Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
      from /Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
      from /Users/Swanros/.rvm/gems/ruby-2.0.0-p247/bin/rake:22:in `&lt;main&gt;'
  
  
  Gem files will remain installed in /Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.14.0 for inspection.
  Results logged to /Users/Swanros/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.14.0/ext/xcodeproj/gem_make.out
  Mac:~ Swanros$ 
  </code></pre>
  
  <p>How could I solve this? I'm running OS X Mavericks with Xcode 5 Command Line Tools already installed.</p>