This post originated from an RSS feed registered with Ruby Buzz
by Obie Fernandez.
Original Post: Installing MySQL Gem on Fedora Core 1
Feed Title: Obie On Rails (Has It Been 9 Years Already?)
Feed URL: http://jroller.com/obie/feed/entries/rss
Feed Description: Obie Fernandez talks about life as a technologist, mostly as ramblings about software development and consulting. Nowadays it's pretty much all about Ruby and Ruby on Rails.
I've wasted time trying to remember how to install the native mysql drivers on FC1 more than I care to admit, so I'm posting the secret sauce here for the benefit of myself and others.
gem update mysql -- --with-mysql-config
As far as I can tell, that option tells the build script that the mysql headers and includes are NOT nicely installed under /usr/local/mysql, but rather scattered all over the place.