Our intern\'s computer is having problems installing the mysql2 gem. We just upgraded his computer from OS X 10.6 to 10.8 (Mountain Lion). I have tried installing mysql th
I solved this by:
ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
(check out their website for useage http://mxcl.github.com/homebrew/)brew install mysql
. (I tried installing mysql by follow these instructions http://erictarn.com/post/28269453881/how-i-installed-mysql-rvm-ruby-and-rails-on-mountain but i ran into issues later so i would recommend reinstalling mysql with homebrew.)Note: When I tried to build I had a library issue, Library not loaded: libmysqlclient.18.dylib
, which was fixed by running sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
(refer to Library not loaded: libmysqlclient.16.dylib error when trying to run 'rails server' on OS X 10.6 with mysql2 gem if you get the same issue.)