From: Hassan Schroeder on
On Wed, Dec 23, 2009 at 11:05 AM, Andrew Ting <drikting(a)gmail.com> wrote:

>>> db = Mysql.connect("localhost", "user","password", "database")
> NoMethodError: undefined method `connect' for Mysql:Class
>  from (irb):3

> Now, i got to say i'm not sure where i can find the user, password and
> database for now, but above show undefined method even before
> authentication...

Yeah, that sounds completely broken. You could try (in irb)
>> Mysql.methods

just for the heck of it, but I think you need to delete that gem entirely
and rebuild, against whatever version of MySQL you plan to use.

Good luck!
--
Hassan Schroeder ------------------------ hassan.schroeder(a)gmail.com
twitter: @hassan