From: Ryan Davis Date: 2010-09-15T16:30:00+09:00 Subject: Re: Errors while updating gems... On Sep 14, 2010, at 22:27 , Eric R. wrote: > I'm new to Ruby, so please forgive me if this seems a tad bit obvious :) > > While updating my gems so I could get Rails 3.0, I got many of the > following errors (as in this example, it's sqlite): > > Updating sqlite3-ruby > Building native extensions. This could take a while... > ERROR: Error installing sqlite3-ruby: > 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 Quick preliminary: do you have apple's developer tools installed? They come free with your machine ... usually on the Extras DVD. You can also download it (big 1 gig download) for free from developer.apple.com.