Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6728
Created by jL - 2011-04-20 12:34:57 UTC
Whenever I try running any database related rake task "db:create", I got this error "rake aborted! uninitialized constant Mysql::Error"
from 'databases.rake' line 64
error_class = config['adapter'] =~ /mysql2/ ? Mysql2::Error : Mysql::Error
when I commented that line out everything worked just fine.
the database got created, migrations worked fine and all.
I used NetBeans 6.9.1 in windows7
the db gems were:
jdbc-mysql, activerecord-jdbc-adapter, activerecord-jdbcmysql-adapter
It's fixed in master.
We can close it.!