Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrian Rudolph
9,340 PointsCan't Install Cocoapods (SOLVED)
EDIT: Solved! Went over to the official troubleshooting and did the uninstall/install gem and it worked. Note: I installed command line tools from the developer site prior to this (it's supposed to help). Link: http://guides.cocoapods.org/using/troubleshooting.html
This is the error I get trying to install:
ERROR: Error installing xcodeproj: ERROR: Failed to build gem native extension.
rake RUBYARCHDIR=/Users/brianrudolph/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.16.1/ext RUBYLIBDIR=/Users/brianrudolph/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.16.1/ext
/Users/brianrudolph/.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' (>= 0) among 10 total gem(s) (Gem::LoadError)
from /Users/brianrudolph/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:307:in
to_spec'
from /Users/brianrudolph/.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/brianrudolph/.rvm/gems/ruby-2.0.0-p247/bin/rake:22:in
<main>'
Gem files will remain installed in /Users/brianrudolph/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.16.1 for inspection. Results logged to /Users/brianrudolph/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/xcodeproj-0.16.1/ext/xcodeproj/gem_make.out