title: How to install Sqlite3 on Mac OS X Lion
body: <p>I am having a hell of a time getting SQLite3 installed. I have gotten all the latest stuff in terms of Ruby and Rails, the gems, etc. Everything says "Nothing to update". But when I try to install the DB I have the following error:</p>
  
  <pre><code>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
  
  
  Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.4 for inspection.
  Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.4/ext/sqlite3/gem_make.out
  </code></pre>