Answer the question
In order to leave comments, you need to log in
Why doesn't ruby see mysql2?
I am using RVM. With it ruby 2.1.5. In the project folder, running bundle. After running rails s - I get the following error:
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)
Gemfile contains mysql2, tried gem install mysql2 as well - result is 0.
What could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question