[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

problems with Oracle dB oci8 connectivity

Peter Bailey

5/25/2007 5:46:00 PM

Hello,
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'

begin
# connect to the Oracle server
dbh = DBI.connect("DBI:Oracle:graphicsdb-prod.bna.com/grpprod.bna.com",
"user", "password")
...

I get the following error:

"Unable to load driver 'Oracle.'"

I'd appreciate any help on this.

Thanks.

--
Posted via http://www.ruby-....