Skip to content

CentOS 5 / MySQL 5.0.x / Ruby

I installed MySQL from the binaries on, here’s how I was able to build the native bindings.

First, I installed the MySQL “Server”, “Client”, and “Headers and Libraries” binaries. Next, after Ruby and RubyGems were installed, I did this:

sudo gem install mysql --  --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql


Posted in CentOS, Linux, MySQL, Ruby, Software Development, Tips and Tricks.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.