Note to Self 0

This is how to install the Ruby mysql gem with your dumb xampp setup:

sudo gem install mysql -- --with-mysql-dir=/Applications/xampp/xamppfiles/ --with-mysql-include=/usr/local/mysql/include
sudo install_name_tool -change /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib /Applications/xampp/xamppfiles/lib/mysql/libmysqlclient.15.0.0.dylib  /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle

No Responses

Leave a Reply


My name is Joey Nelson. I'm a web developer living in Raleigh, NC and working with Node.js, MongoDB, Ruby, PHP, jQuery and some other stuff. More about me.