On Mon, May 13, 2013 at 5:44 AM, dave <bone_da...@mac.com> wrote:

> davids-MacBook-Pro:sailing_oli_bk31mar2013pg bone_david$ gem install mysql2
> --verbose -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

> checking for mysql.h... no
> checking for mysql/mysql.h... no
> -----
> mysql.h is missing.  please check your installation of mysql and try again.
> -----
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers.  Check the mkmf.log file for more
> details.  You may need configuration options.

? Strange. I'd suggest you 1) check the mkmf.log file referenced
above on the off-chance it has more enlightening information, and
2) run mysql_config manually to see what it says.

And finally, if you're not making progress there, just forget the DMG
install and use the MacPorts version (which I do) because, really,
who cares? For development the exact version of MySQL probably
isn't critical. Before you go to production you'll want a staging server
matching your production environment set up to test on anyway.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to