I’m not having much luck installing the mysql Ruby gem to use the mySQL
in MAMP, anyone tried this?
Using MAMP v1.7.1.
Ruby Gems v0.9.5
arbutus:mysql walkinthere$ sudo gem install mysql –
–with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
Password:
Building native extensions. This could take a while…
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb install mysql –
–with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
checking for mysql_ssl_set()… no
checking for mysql.h… no
checking for mysql/mysql.h… no
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7
for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out