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!

  • The motto for RubyGems should be "can't someone else do it?" 2010-10-25
  • New Superchunk makes me feel like I'm 17, anyone up for semi-ironically playing Mario Kart 64 and making Kraft Dinner? 2010-09-24
  • what an unfortunate (yet hilarious) name http://imgur.com/2biWk 2010-09-22
  • Hey Google, stop interrupting me when I'm trying to ask you a question! 2010-09-09
  • My new book will be called "Living in Synergy: Memoirs of an Unwed Power Couple" (with help from @EKinread of course) 2010-09-01
  • Can anyone recommend a good tailor in Hamilton? 2010-08-23
  • More updates...