I've recently upgraded to Rails 3 and am getting the following issue when trying to run rake db:create
to create a mysql database of which has been defined in database.yml
Some info about my setup:
running snow leopard rails gem v3.0.3 mysql gem v2.8.1 mysql 5.5.8
I'm presented with this issue:
$rake db:create
(in /Users/elliottheis/Sites/demoProject)
rake aborted!
uninitialized constant Mysql::Error
(See full trace by running task with --trace)
Does anyone have any ideas how to solve this, it's driving me nuts!
rake db:create --trace
? – Dogbertcreate_database' /Library/Ruby/Gems/1.8/gems/activerecord-3.0.3/lib/active_record/railties/databases.rake:33 /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
call' " – Elliot