[Rails] Error installing the MySQL Ruby bindings?

Łukasz Piestrzeniewicz bragi.ragnarson at gmail.com
Wed Mar 1 08:14:43 GMT 2006


On 01/03/06, Conrad Taylor <conradwt at gmail.com> wrote:
> Hi, I attempted to install the MySQL Ruby bindings and I received the
> following errors:

[snip]

First of all native mysql bindings are not mandatory, Rails works just
fine with Ruby bindings for development and testing.

It would be great if you could provide some additional info on the
system you use.

Make sure development packages for mysql are installed (mysql-devel
rpm on Fedora for example.) Find 'mysql_config' config in your system
and adjust path below if necessary:

# cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/
# ruby extconf.rb --with-mysql-config=/usr/bin/mysql_config
# make
# make install
# gem install mysql

Last command is probably not necessary, but just to be sure ;)

--
Łukasz Piestrzeniewicz
http://ragnarson.blogspot.com


More information about the Rails mailing list