Ruby and Oracle on Ubuntu with OCI8

Today I have done about connect oracle database with ruby on ubuntu linux 7.04 ( Feisty Fawn) . The oracle database I use only instant client not full client. The joint for ruby and oracle I use ruby-oci8 that the great ruby interface.
The way to install the instant client for oracle on ubuntu I get it from Ubuntu Forums . How to Install Oracle Instant Client and PHP OCI8 module . That I install only oracle instant client not php and oci8 .

The next one , install the ruby-oci8 from here. ruby-oci8.rubyforge.org
And the last one, set the TNS_ADMIN to the directory that contain tnsnames.ora file. You can see the solution from psyko.org
That work fine for me.

Syndicate

Syndicate content


Who's online

There are currently 0 users and 0 guests online.

Test Site is powered by Drupal and K2
RSS Entries