Installing the MySQL Gem on Slicehost (Ubuntu)

This entry was posted September 13 2009 under Uncategorized.

No comments

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!

Post a Comment







OMG Who?

I'm Sean Roberts, a 24-year-old Ruby on Rails developer currently working for Hamilton web design firm factor[e] design initiative. This is my blog about work and nerd stuff, and maybe a little bit about music and food too.

I'm On Twitter!

  • Can anyone recommend a good tailor in Hamilton? 1 week ago
  • Alphabits are a highly underrated cereal. Just saying. 1 week ago
  • Oh look, another good deal on a product that I need and can't find at a store around here. Do they ship to Canada? Of course not. 2 weeks ago
  • RT @JayHiggins: I'm going to be positive: Games big success, Ticats sold to billionare, LRT, Condo Dev at WH, Bettman retires 3 weeks ago
  • Wait, Hamilton has a football team? 3 weeks ago
  • Hooray for west harbour! I promise to not be sarcastic RE: government for a couple days. Probably. 3 weeks ago
  • More updates...