DB2 Version 9.7 for Linux, UNIX, and Windows

Getting started with Ruby on Rails

Before you can develop Ruby on Rails applications for IBM® Database servers, you must set up the Rails environment with an IBM data server client.

Procedure

To set up the Ruby on Rails environment with an IBM data server client:

  1. Download and install the DB2® or IBM Informix® database software from http://www.ibm.com/software/data/servers/.
  2. Download and install the latest version of Ruby from http://www.ruby-lang.org/en/downloads/.
  3. Install the Rails gem and its dependencies by issuing the following gem installation command:
    gem install rails --include-dependencies

What to do next

You are now ready to install the IBM_DB Ruby driver and Rails adapter as a gem.