Installing the MySQL Gem on Slicehost (Ubuntu)
Seems like getting the Rails MySQL gem installed on various systems would make a good candidate for a series of blog posts. Hopefully this will help somebody out. Trying to install the gem on Slicehost will product the dreaded “Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers” error. Thankfully this is easily fixed:
sudo gem install mysql-server
sudo gem install libmysqlclient15-dev
sudo gem install mysql
Shazam!
