Skip to content
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

mysql 0.4.1 throws exception #404

Closed
alexandru-calinoiu opened this issue Oct 19, 2015 · 3 comments
Closed

mysql 0.4.1 throws exception #404

alexandru-calinoiu opened this issue Oct 19, 2015 · 3 comments

Comments

@alexandru-calinoiu
Copy link

With the database_cleaner 1.5.1 and mysql 0.4.1 I get the following exception:

 Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
@st0012
Copy link
Contributor

st0012 commented Oct 28, 2015

I think this issue may not caused by database_cleaner, it's caused by the mysql2 version you're using.
See: rails/rails#21544

@alexandru-calinoiu
Copy link
Author

You are right. Thank you.

@st0012
Copy link
Contributor

st0012 commented Oct 28, 2015

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants