I'm currently trying to get the following to work together, to no avail:
Rails 3.1.1 MAMP 2.0.2 mysql2 5.5.9 Ruby 1.9.2 Mac OSX 10.7 (lion)
Everything appears installed.. mysql2 and rails show up in my gem list. I used the instructions found here to install mysql2 and it seemed to go smoothly:
http://blog.mirotin.net/35/mamp-1-9-5-mysql-5-5-9-and-ruby-mysql2
I've also specified the MAMP socket in my database.yml file: socket: /Applications/MAMP/tmp/mysql/mysql.sock
My rails application runs fine with sqlite3, but when I change database to mysql2 and try to run webrick, I get a generic ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished) message.
What am I missing?