Re: IBM Article: DB2 on Rails

Philip Nelson
Sun, 27 May 2007 20:14:52 -0000

If this is the Windows "Getting Started" then it includes DB2
Express-C and
the precompiled adapter for DB2.   Not sure if it actually installs Ruby and
Rails too, but I guess it does (I''m a Linux person myself, and so
downloaded
the source code only).

There is a newer (and considerably improved) version of the IBM adapter /
driver available from the RubyForge site -

http://rubyforge.org/projects/rubyibm

Note that the ibm_db2 driver has been renamed as ibm_db (it now covers more
than DB2 on Linux, UNIX and Windows).    I''d suggest that if you
don''t have
DB2 installed already, and are using Windows, you should download and install
the code from Alphaworks and then use gem to install ibm_db.

You''ll find details in my presentation of the extra steps
you''ll need to carry
out to use this : a couple of edits to add ibm_db to the list of supported
adapters in Rails and ActiveRecord.

HTH

Phil

On Sunday 27 May 2007 15:06, Bill Walton wrote:
> Hi Phil,
>
> Philip Nelson wrote:
> > You''ll find more on using DB2 with Rails in my blog -
>
> I''ve downloaded, but not yet installed, the Getting Started
toolkit (might
> be called something slightly different) for Windows from the developerworks
> site.  It looked from the description like it was similar to the Instant
> Rails distro; Ruby / Rails / DB / Webserver all-in-one.  I''m
hoping I''ll
> get a chance to try it out tomorrow, but thought I''d ask if you
know
> anything about it.  Like, in particular, is my assumption about the content
> correct? I''m currently using Instant Rails for a number of
reasons, most
> significantly its standalone / self-contained characteristics.  Is the DB2
> distro like that?
>
> Thanks,
> Bill