Rails 3.1 , MySQL and ruby 1.9.2-p180 don’t mix well

Mysql2::Error: No database selected: SHOW TABLES

That is the error you’ll get when you try to migrate.

it’s a YAML issue and you can either require YAML in boot.rb expicitly and set
YAML::ENGINE.yamler= 'syck'

or what I did: upgrade to ruby 1.9.2-p290

more details on the stackoverflow thread

Leave a Reply

Your email address will not be published. Required fields are marked *