Gems for DBI and MySQL?

Please try http://www.tmtm.org/en/mysql/ruby/\.

--Vraj Mohan

···

Quoting "Kujawa, Greg" <Greg.Kujawa@DiamondCellar.com>:

> You can go to http://ruby-dbi.sourceforge.net/ to download the package, as
> it doesn't come bundled with the Ruby One-Click Installer for Windows.
> Installation isn't too bad. Just follow the documentation that comes with
> the package...

Downloading DBI is easy enough. However, I think I also need a database driver
(DBD) for MySQL. The page you referenced above says

"MySQL (dbd_mysql)

depend on the "MySQL Ruby Module" by TOMITA Masahiro <tommy@tmtm.org>
<URL:http://www.tmtm.org/mysql/&gt; or available from the RAA."

I doesn't appear that it can be downloaded from that URL and I can't find
anything in the RAA that claims to be a DBD from MySQL. Can someone tell me
the name of the thing I should looking for?

Maybe it's just me, but it doesn't seem like setting up Ruby to work with MySQL
is very well documented.

> -----Original Message-----
> From: R. Mark Volkmann [mailto:mark@ociweb.com]
> Sent: Wednesday, March 30, 2005 10:39 AM
> To: ruby-talk@ruby-lang.org
> Subject: gems for DBI and MySQL?
>
>
> My apologies for incorrectly posting this on my first try.
> I'm reposting it to it's own thread.
>
> I need to access a MySQL database from Ruby.
> I'm running under Windows using the one-click installer.
> Is DBI the preferred way to do that?
>
> If so, what do I need to install that doesn't come bundled in the one-click
> installer? DBI? Ruby MySQL driver?
>
> Are there gems for those or do I need to install them the old fashioned way?
>
> --
> R. Mark Volkmann
> Partner, Object Computing, Inc.
>
>

--
R. Mark Volkmann
Partner, Object Computing, Inc.

Quoting vrajmohan@comcast.net:

Please try http://www.tmtm.org/en/mysql/ruby/\.

I downloaded that and ran "ruby extconf.rb".
After that I tried to run "make", but there was no Makefile.
I assume that extconf was supposed to generated that, but it didn't.
Any ideas?

···

> Quoting "Kujawa, Greg" <Greg.Kujawa@DiamondCellar.com>:
>
> > You can go to http://ruby-dbi.sourceforge.net/ to download the package,
as
> > it doesn't come bundled with the Ruby One-Click Installer for Windows.
> > Installation isn't too bad. Just follow the documentation that comes with
> > the package...
>
> Downloading DBI is easy enough. However, I think I also need a database
driver
> (DBD) for MySQL. The page you referenced above says
>
> "MySQL (dbd_mysql)
>
> depend on the "MySQL Ruby Module" by TOMITA Masahiro <tommy@tmtm.org>
> <URL:http://www.tmtm.org/mysql/&gt; or available from the RAA."
>
> I doesn't appear that it can be downloaded from that URL and I can't find
> anything in the RAA that claims to be a DBD from MySQL. Can someone tell
me
> the name of the thing I should looking for?
>
> Maybe it's just me, but it doesn't seem like setting up Ruby to work with
MySQL
> is very well documented.
>
> > -----Original Message-----
> > From: R. Mark Volkmann [mailto:mark@ociweb.com]
> > Sent: Wednesday, March 30, 2005 10:39 AM
> > To: ruby-talk@ruby-lang.org
> > Subject: gems for DBI and MySQL?
> >
> >
> > My apologies for incorrectly posting this on my first try.
> > I'm reposting it to it's own thread.
> >
> > I need to access a MySQL database from Ruby.
> > I'm running under Windows using the one-click installer.
> > Is DBI the preferred way to do that?
> >
> > If so, what do I need to install that doesn't come bundled in the
one-click
> > installer? DBI? Ruby MySQL driver?
> >
> > Are there gems for those or do I need to install them the old fashioned
way?
> >
> > --
> > R. Mark Volkmann
> > Partner, Object Computing, Inc.
> >
> >
>
>
> --
> R. Mark Volkmann
> Partner, Object Computing, Inc.
>

--
R. Mark Volkmann
Partner, Object Computing, Inc.

Sorry, did not realize that you were using it on Windows. Please try http://seagecko.org/thoughts/index.php?p=28

--Vraj Mohan