Ruby Programming with CUBRID
Below you can find the Ruby Driver to connect to CUBRID Database. If you wish to get the source code, they are at Github cubrid-ruby repository (see below).
There is always something new in CUBRID Database and something new in Ruby side. So we highly encourage Rubyists to test CUBRID Drivers and see if there is something needed to be added or modified. If so, share your thoughts at either Ruby forum on CUBRID or on Ruby on Rails: Talk page at Google groups (see below).
Downloads

On Windows
Windows users do not need to download anything to get Ruby Driver installed. For Windows users we have pushed cubrid-0.61-x86-mingw32.gem to Gemcutter. Use the above command (gem install cubrid) in the command line to install the latest version of Ruby Driver for CUBRID on Windows. Also, make sure you read the Tutorial provided at the end of this page. Read the Tutorial below for the detailed installation instructions.
On Linux
CUBRID gem has been successfully pushed to RubyGems.org. So, now on Linux users can get CUBRID connector through gem. Remember to add -E flag when installing the gem with sudo like "sudo -E gem install cubrid". The -E flag is necessary to make sure sudo does not reset the user path where CUBRID Database has been installed. Read the Tutorial below for the detailed installation instructions.
Version History
- Coming soon:
- Ruby 1.9.1 Compatibility
- CUBRID 3.0 Compatibility
- x64 Compatibility
- ActiveRecord Adapter - 0.64 - cubrid-0.64.gem:
- Cross-platform: compatible with all platforms.
- Compatible with CUBRID 2.2 x86 on Ruby 1.8.7.
- Available through "gem install cubrid". - 0.61 - cubrid-0.61-x86-mingw32.gem:
- Built under Windows 7 32 bit.
- Compatible with Windows platforms.
- Compatible with CUBRID 2.2 x86 on Ruby 1.8.7.
- Available through "gem install cubrid".
Source Code
CUBRID Connector for Ruby is now hosted on Github.com repository. You can browse and download the source code at cubrid-ruby repository page.
Contribute
We highly encourage Ruby developers to download and test these CUBRID Connectors. If you find any unexpected behavior, please report them at:
CUBRID forum for Rubyists.
Additionally, we have activities at Ruby on Rails: Talk page at Google groups. Search for:
CUBRID
term within the group to see the latest conversation about Ruby Programming for CUBRID.
Tutorials
Refer to Ruby API to get the detailed explanation of each function provided in the Ruby Driver. In this tutorial you will find many examples how to establish the connection between the database and the client applications, and run various SQL queries.



