Uninitialized Constant Mysql2 - Windows
Here's my system specs: Windows 7 Ultimate 32bit Ruby 1.9.2 Rails 3.1 MySQL 5.5
I have created a new rails app using compass and when I开发者_JAVA百科 do:
rake db:create --trace
I get the following results:
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
rake aborted!
uninitialized constant Mysql2
I can confirm that MySQL is running as I can access it from the command line. I also have the mysql2 0.3.7 gem installed. The bundle install also runs without a hitch. I've read that reverting back to MySQL 5.1 might fix the issue, but it took me so long just to get the gem installed I don't know if I want to go through that whole process again.
Anyone have any thoughts?
精彩评论