Over the past few months, I have noticed a steady decline in the overall quality of the Gentoo Linux distribution. (See here for some of my past issues.) Currently, I am unable to burn CD’s, nor can I print PDF documents. There was a time when problems like this were a fun challenge, but now I expect most things to just work.
So I am ready for a change. At this point my top two contenders are Fedora Core and Ubuntu. I have been running Fedora Core on my aging Thinkpad T22 for some time now, and I think it has matured into a really solid distribution. Prior to Gentoo, Debian was my distro of choice. Since Ubuntu effectively corrects the problem I had with Debian, (the glacial release cycle) I might consider switching to that instead.
I will have to install both, put them to the test and see which one I like best.
Getting the MySQL extension for Ruby installed or updated on Fedora Core 5 takes a few extra steps besides “gem install mysql”. Since I can never remember the steps needed to get the extension installed, I am posting this install guide so I won’t have to search for it on Google. Who knows, maybe somebody else will find it useful too.
1. Run “gem install mysql”. Choose to install mysql 2.7, and wait for the install to die with an error.
2. Change to the gem directory. “cd /usr/lib/ruby/gems/1.8/gems/mysql-2.7″
3. Configure the gem with the proper path to mysql_config. “ruby extconf.rb –with-mysql-config=/usr/bin/mysql_config”
4. Run make.
5. Optionally, you can run the test suite on module. “ruby ./test.rb [hostname] [user] [password] [dbname] [port] [socket] [flag]“
6. Run make install.
7. Run “gem install mysql” again to complete the installation.