When I try a rake db:migrate, that fails:
WARNING: This version of mysql2 (0.3.6) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x rake aborted!
Am I doing something wrong, or does the bitnami rubystack come with incompatible versions of rails and mysql2?
Should I upgrade to rails 3.1 or downgrade mysql to 0.2.x?
asked 15 Aug '11, 17:25
BitNami RubyStackDev includes rails 3.0 and mysql gem 2.8.1 which are compatible. It doesn't include mysql2 gem.
In this question you created a new project using mysql2 in the Gemfile and with
Currently Rails 3.1 is not the final stable version (the available version is a release candidate). If you want to use mysql2 gem with Rails 3.0 you can use the following in the Gemfile of your project:
answered 16 Aug '11, 04:25