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

Rails 5.2 needs mysql2 version >= 0.4.4 #194

Closed
mihailpozarski opened this issue May 7, 2019 · 0 comments
Closed

Rails 5.2 needs mysql2 version >= 0.4.4 #194

mihailpozarski opened this issue May 7, 2019 · 0 comments

Comments

@mihailpozarski
Copy link
Contributor

mihailpozarski commented May 7, 2019

When creating a new project with potassium using MySQL and Rails 5.2 there is a ActiveRecord dependency not met. Gem::LoadError: Error loading the 'mysql2' Active Record adapter. Missing a gem it depends on? can't activate mysql2 (< 0.6.0, >= 0.4.4), already activated mysql2-0.3.21. Make sure all dependencies are added to Gemfile.

Gemfile asks for:

#Gemfile
gem 'mysql2', '~> 0.3.18'

ActiveRecord requires mysql2 (< 0.6.0, >= 0.4.4) on rails version 5.2 asked at gemfile:

#Gemfile
gem 'rails', '~> 5.2.3'

As explained here:
RailsApps/rails_apps_composer#371

@mihailpozarski mihailpozarski changed the title ActiveRecord needs mysql2 version >= 0.4.4 Rails 5.2 needs mysql2 version >= 0.4.4 May 7, 2019
@llekn llekn closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants