Yesterday I tried to install mysql gem. It refused to install complaining about missing mysqlclient library. Which WAS present.
It turned out that it was enough to tell gem where to find mysql_config command:
$ gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
And now for the best part: Fedora provides MySQL bindings by itself through ruby-mysql package. And it was already installed on my system. DOH.
$ gem uninstall mysql
$ yum install ruby-mysql
0 comments:
Post a Comment