Sybase IQ supports several Ruby API packages.
- Native Ruby Driver — lets Ruby code interface with Sybase IQ database.
- Ruby/DBI Driver — lets Ruby/DBI communicate with Sybase IQ database.
Note: Sybase IQ does not support Ruby ActiveRecord Adapter API package.
Sybase IQ support for the Ruby driver is available in both source and binary forms. When no binary distribution is available, you can download and build Ruby from the Internet. The binary distributions are:
- Win32 via the RubyInstaller project (Windows GUI installer)
Note: Sybase IQ does not provide Ruby binary distribution for Windows 64-bit platform. Sybase IQ support for the Ruby driver is provided only for Windows 32-bit and Linux32 (x86) platforms.
- Linux32 (x86) via the apt-get command, which is available with both Debian and Ubuntu. Enter:
% sudo apt-get install ruby irb rdoc
For more information on how to download and install rubygems for different Ruby API packages, see http://sqlanywhere.rubyforge.org/
See these topics in the SQL Anywhere documentation: