title: MySQL Gem for Ruby On Rails
body: <p>I have searched everywhere and no ones solutions solve my problem. I have built rails apps using SQLite but not MySQL. For this particular project, I need MySQL. When I attempt to boot the server I get an error, so I attempt to install the gems for MySQL and get another error. Does anyone have any insight? Thank you!</p>
  
  <pre><code>    rails server
      Could not find gem 'mysql2 (&gt;= 0)' in any of the gem sources listed in your Gemfile.
  
      sudo gem install mysql2
      Building native extensions.  This could take a while...
      ERROR:  Error installing mysql2:
          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/mysql2-0.2.7 for inspection.
      Results logged to /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/ext/mysql2/gem_make.out
  </code></pre>