lundi 1 juin 2015

Issues with mysql gem when i run bundle install

I am trying to work for a project i m working on other devises. I just migrated the codes to my laptop and i need to run bundle install to have all gems installed.

The only one that could not go through is mysql. This is the message I get:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb 

Then I ran sudo gem install mysql2 but I still ran into the same error: ERROR: Error installing mysql2: ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb

What is the best way to solve the conflict? Thanks!

Aucun commentaire:

Enregistrer un commentaire