cjmartin | tumbl'd

Jan 23

Installing mySQL gem on OSX

I’ve been changing computers a lot lately and I always wind up googling the specifics of installing the mySQL gem… generally comes down to typing the path wrong, /usr/local/mysql/bin rather than /usr/local/mysql.

Anyway, this is the correct command:

$sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql