# IBM Article: DB2 on Rails

**URL:** <https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052>\
**Category:** Rails\
**Created:** [May 25, 2007, 10:08am UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052 "2007-05-25T10:08:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [May 25, 2007, 10:08am UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/1 "2007-05-25T10:08:50Z")

</div>

I often forward IBM DeveloperWorks articles about RoR to this list.  
This is a new well-written ‘Intermediate’ article using DB2 with Rails:

> **[IBM Db2](https://www.ibm.com/products/db2)**
>
> IBM Db2 is the database to run your mission-critical workloads. Power low-latency transactions and real-time analytics across any cloud, hybrid, or on-prem.

Hope this helps.  
Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [May 25, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/2 "2007-05-25T15:46:58Z")

</div>

Thanks for the link, Mohit. Very interesting.

Best regards,  
Bill

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [May 26, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/3 "2007-05-26T22:18:42Z")

</div>

Mohit,

Thanks for the link.

You’ll find more on using DB2 with Rails in my blog -

[http://blogs.ittoolbox.com/database/geek](http://blogs.ittoolbox.com/database/geek)

## I also gave a presentation entitled “DB2 on Rails” at the recent IDUG (International DB2 Users Group) in San Jose, which you can retrieve from

[http://www.scotdb.com/downloads.html](http://www.scotdb.com/downloads.html)

HTH

Phil

> >

–  
Philip N.  
ScotDB Limited  
(removed\_email\_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [May 27, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/4 "2007-05-27T16:07:22Z")

</div>

Hi Phil,

Philip N. 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

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [May 27, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/5 "2007-05-27T22:12:55Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/6 "2007-09-25T23:02:48Z")

</div>

Philip N. wrote:

> [http://www.scotdb.com/downloads.html](http://www.scotdb.com/downloads.html)
> 
> HTH
> 
> Phil

Thanks Phil

I think that’s the presentation that I had offered to proof read once  
upon a time 😃

Cheers  
mohit.

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052/7 "2007-09-25T23:05:04Z")

</div>

On Saturday 26 May 2007 06:15, Mohit S. wrote:

> > (International DB2 Users Group) in San Jose, which you can retrieve from  
> > I think that’s the presentation that I had offered to proof read once  
> > upon a time 😃
> 
> Cheers  
> mohit.

Probably : I had to do lots of last minute adjustments after IBM  
released  
ibm\_db 0.6.0 one week before the conference. So I never got round to  
sending it out for proof reading.

Phil
