Started to use cocoapods using Mac OSX 10.8.2, where ruby is pre-installed. Perhaps I'm missing something here. I'm having issues installing cocoapods with my pre-installed version of ruby.
ERROR: Failed to build gem native extension.
Transcript:
my-mac$ sudo gem install cocoapods
Password:
Building native extensions. This could take a while...
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/ext/xcodeproj/gem_make.out
Started to use cocoapods using Mac OSX 10.8.2, where ruby is pre-installed. Perhaps I'm missing something here. I'm having issues installing cocoapods with my pre-installed version of ruby.
ERROR: Failed to build gem native extension.
Transcript:
my-mac$ sudo gem install cocoapods Password: Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/ext/xcodeproj/gem_make.out