-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql2 gem v0.4.0 doesn't work #21544
Comments
Known failure on Ruby 2.3/trunk: brianmario/mysql2#671 Fixes #21544
Backported |
I mean, next Rails 4.2 will support mysql2 0.4 |
latest mysql2 update doesn't work with Rails rails/rails#21544
Thanks for backporting! ❤️ |
We would prefer to only constrain mysql2 to '~> 0.3', but a rails bug (rails/rails#21544) requires us to constrain to '~> 0.3.20' for now.
latest mysql2 update doesn't work with Rails rails/rails#21544
Just a suggestion, this issue would have been easier to diagnose if the exception message from Gem::LoadError was not swallowed up by the exception handler when the adapter specific code is required. |
@jaredbeck RoR 3.2.xxx no longer supported |
do |
When will this be released? |
ActiveRecord 4.2.4 does not work with mysql2-0.4.x yet. rails/rails#21544
We would prefer to only constrain mysql2 to '~> 0.3', but a rails bug (rails/rails#21544) requires us to constrain to '~> 0.3.20' for now.
We would prefer to only constrain mysql2 to '~> 0.3', but a rails bug (rails/rails#21544) requires us to constrain to '~> 0.3.20' for now.
We would prefer to only constrain mysql2 to '~> 0.3', but a rails bug (rails/rails#21544) requires us to constrain to '~> 0.3.20' for now.
This locks the mysql2 adapter to the same versioning scheme as listed in the active record source for the deprecated 4.x branches 4.0.x and 4.1.x. This prevents otherwise incorrect load errors when running the rails40 and rails41 suites. See also: rails/rails#21544
There is an incompatibility with Rails 4.2 and MySQL 0.4.x as per rails/rails#21544. Updating Rails should fix this problem but for now this is the simplest fix.
There is an incompatibility with Rails 4.2 and MySQL 0.4.x as per rails/rails#21544. Updating Rails should fix this problem but for now this is the simplest fix.
Rails v 4.2.4 error with mysql 0.4. has to use mysql2', '~> 0.3.18 to work |
fixes rails bug with mysql2 gem see rails/rails#21544
When creating a new app with
rails new myapp --database=mysql
, I get an error when attempting to load the app:Manually specifying the version of mysql2 to be v0.3.20 works fine.
The text was updated successfully, but these errors were encountered: