Skip to content

Instantly share code, notes, and snippets.

@mistrikushal
Created December 9, 2015 10:26
Show Gist options
  • Save mistrikushal/e4a678141eca354a79db to your computer and use it in GitHub Desktop.
Save mistrikushal/e4a678141eca354a79db to your computer and use it in GitHub Desktop.
mysql gem installation issue
if you see an error while installing mysql gem like,
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
solution:
sudo apt-get install mysql-server
sudo apt-get install mysql-client libmysqlclient-dev
sudo apt-get install libmysqld-dev libmysqlclient-dev mysql-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment