Ruby

IBM® 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 IBM Informix ODBC Driver, which is part of the IBM Informix Client Software Development Kit (Client SDK).

Ruby Gem for IBM Data Servers

The IBM_DB gem is the Ruby gem for IBM Data Servers. The IBM_DB gem is supported on IBM Informix 11.10 or later. Based on the DRDA protocol, it allows Ruby applications to access both Informix and IBM 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 IBM common CLI driver. The CLI driver is a component in the following clients and drivers:
  • IBM Informix Client Software Development Kit (Client SDK)
  • IBM Data Server Client
  • IBM Data Server Runtime Client
  • IBM Data Server Driver for ODBC, CLI, and .NET (Windows only)
  • IBM Data Server Driver for ODBC and CLI