holman/play — Issue #28: mysql2 adapter
Author: keroger2k
Created: 2011-11-11 18:50:44+00:00
State: open

Zach,

This really isn't an issue with play, but it was a frustration I had to deal with when installing.

>`establish_connection’: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load — >active_record/connection_adapters/mysql2_adapter) (RuntimeError

In order to correct the issue I had to run the following command:

>sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib ~/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.7/lib/mysql2/mysql2.bundle

Thought it might be useful for someone.

Nice application. Off the topic, I've loved your recent banter with Scott Hanselman and Rob Conery. Excellent post on the matter.