Installing the IBM_DB Ruby driver and Rails adapter as a Ruby gem
The IBM_DB Ruby driver
and Rails adapter is available as a Ruby gem for installation in the IBM® data server
clients.
Ruby
Gems is the standard packaging and installation framework for libraries
and applications in the Ruby runtime environment. A single file for
each bundle is called a gem, which complies to the standardized package
format. This package is then distributed and stored in a central repository,
allowing simultaneous deployment of multiple versions of the same
library or application.
Before you begin
Similar to package management and bundles (.rpm, .deb) used in Linux® distributions, these gems can also be queried, installed, uninstalled, and manipulated through the gem utility.
The gem utility can: seamlessly query the remote Gemcutter central repository; and look up and install any of the many readily available utilities. When the IBM_DB gem is installed, the IBM_DB Ruby driver and Rails adapter is immediately accessible from any application in the Ruby runtime environment, through the require command:
require 'ibm_db'
or on Windows:
require 'mswin32/ibm_db' Procedure
To install the IBM_DB Ruby driver and Rails adapter as a Ruby gem: