I am currently building a RoR project that requires the mysql2 gem. I
successfully installed the gem. Because it is showing up in my gem list.
However I am getting the following error when I try to start my project:
“Could not find gem ‘mysql2 (= 0.3.17) ruby’ in the gems available on
this machine. Run bundle install to install missing gems.”
The gem is also definitely in my Gemfile. I’ve included a log in order
to display all of this info.
What can I do for my project to recognize that mysql2 gem is most
definitely installed on my machine?
I am currently building a RoR project that requires the mysql2 gem. I
successfully installed the gem. Because it is showing up in my gem list.
However I am getting the following error when I try to start my project:
“Could not find gem ‘mysql2 (= 0.3.17) ruby’ in the gems available on
this machine. Run bundle install to install missing gems.”
The gem is also definitely in my Gemfile. I’ve included a log in order
to display all of this info.
You probably shouldn’t be doing development as root.
Look at the second and last lines of your snippet - see a problem?