Installing MySQL Gem on Mac OSX with XAMPP

Posted on July 26, 2009, under Mac OSX, MySQL.

I was having lot of trouble on installing the MySQL Gem for Mac OSX Leopard 10.5.9 via XAMPP. I have the XAMPP running and also mySQL. Here are the steps.

1. Install XAMPP for MAC

2. Install XAMPP Dev Package

3. From your terminal type the following command and you’ll see the following

sudo gem install mysql -- --with-mysql-dir=/Applications/XAMPP/xamppfiles/ -- with-mysql-lib=/Applications/XAMPP/xamppfiles/lib -- with-mysql-include=/Applications/XAMPP/xamppfiles/include/ -- with-mysql-config=/Applications/XAMPP/xamppfiles/bin/mysql_config

Leave a Comment

You must be logged in to post a comment.