gem install mysql
…but then I ran into problems - I kept getting this error:
checking for mysql_ssl_set()... no checking for mysql.h... no checking for mysql/mysql.h... no *** /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
To make a long story short, I wasted 2 hours trying to get this thing installed without success, so I looked into the problem and it was as simple as this:
mysql-devel installed to install the Ruby MySQL driver because it uses the native MySQL driver source. So all you need to do in FC4 to get it to work is this:
yum install mysql-devel
Dang that was easy. I’m sure I will have something else up here about Rails, unless I get sidetracked with Flex2 and Actionscript3 again :(