Updating Ruby gems on Leopard? Proceed with caution!

Remember this crucial step before running sudo gem update.

If you're updating to Leopard or working off a new Mac machine, before running sudo gem update make sure you have installed XCode Tools (located on your installation disk).  Or else you'll probably get this sucky error:

ERROR:  Error installing fastthread:
    ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb update can't find header files for ruby.

Category:

Created on: 25 Jun 17:13

Back to article list