Ruby

HCL Informix® supports database access for client applications that are written in the Ruby programming language with two open source packages. Each package, which is known as a ruby gem, is a precompiled file that combines the Ruby driver and the Ruby on Rails adapter in a standard framework for the Ruby runtime environment.

Ruby/Informix® Gem

Ruby/Informix® is the Ruby gem for connections to Informix® database servers. You can download Ruby/Informix® from the Rubyforge website at http://rubyforge.org/projects/ruby-informix.

To use Ruby/Informix®, you must install the Informix® ODBC Driver, which is part of the Informix® Client Software Development Kit (Client SDK).

Ruby Gem for Data Servers

The IBM_DB gem is the Ruby gem for Data Servers. The IBM_DB gem is supported on HCL Informix® 11.10 or later. Based on the DRDA® protocol, it allows Ruby applications to access both Informix® and DB2® data servers.

You can download Ruby/Informix® from the Rubyforge website at http://rubyforge.org/projects/rubyibm.

To use the IBM_DB gem, you must install the common CLI driver. The CLI driver is a component in the following clients and drivers:
  • Informix® Client Software Development Kit (Client SDK)
  • Data Server Client
  • Data Server Runtime Client
  • Data Server Driver for ODBC, CLI, and .NET (Windows only)
  • Data Server Driver for ODBC and CLI