Forum: Ruby problems with Oracle dB oci8 connectivity

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B58c6eef325656d513d26e2c3ae6bfd9?d=identicon&s=25 Peter Bailey (peterbailey)
on 2007-05-25 19:46
I need to connect from my Windows server over to an Oracle database in
Unix land. I finally got the Oracle client loaded on my server, and, I
downloaded and installed the oci8 gem from rubyforge.

Here's the top of my script.

require 'oci8'
require 'dbi'

# connect to the Oracle server
dbh = DBI.connect("",
"user", "password")

I get the following error:

        "Unable to load driver 'Oracle.'"

I'd appreciate any help on this.

This topic is locked and can not be replied to.