From: Luis Lavena Date: 2010-11-09T22:35:15+09:00 Subject: Re: Got "undefined method `split'" when installing gem dm-mysql-adapter On Nov 9, 3:12 am, Deche Pangestu wrote: > Hello all, > > I'm trying to install the gem dm-mysql-adapter with the following > command: > > gem install dm-mysql-adapter -- --with-mysql-config=/usr/bin/mysql > --with-mysql-lib=/usr/lib/mysql > --with-mysql-config is expecting mysql_config or mysql5_config script, not mysql binary. If you provide a mysql_config script, there is no need for --with- mysql-lib or --with-mysql-include. > > Has anyone experience the same problem? What should I do to fix this? > Thanks! > Either provide --with-mysql-config or combine --with-mysql-lib & -- with-mysql-include -- Luis Lavena