Debian Etch & MySQL Gem

I just got another VPS for a client’s app and found it interesting that my normal MySQL gem installation was giving me problems. It simply will not work. Since I didn’t compile MySQL from the source, but used the one supplied by Debian, I had this feeling that something is not right.

The solution was quite simple. Here’s what I did (as the root):

apt-get install libmysqlclient-dev
gem install mysql -- --with-mysql-config=/usr/bin/mysql_config

This may happen to you since VPS providers use different OS images. FYI, this was a VPS from VPSLand.

Comments

Leave a Reply

You must be logged in to post a comment.