Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > problems with Oracle dB oci8 connectivity

Reply
Thread Tools

problems with Oracle dB oci8 connectivity

 
 
Peter Bailey
Guest
Posts: n/a
 
      05-25-2007
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-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
oci8 oracle rowid Mark Pelletier Ruby 1 09-24-2007 01:48 PM
ActiveRecord, Oracle oci8 and LEFT OUTER JOIN Brian Candler Ruby 1 03-20-2007 09:09 PM
How to pass arrays in and/or out of Oracle PL/SQL Package using OCI8 Jason Vogel Ruby 4 11-21-2006 08:45 PM
ruby-oci8 install problem. Oracle instant client + os x + rails keenytn1@hotmail.com Ruby 1 11-07-2006 04:48 PM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM



Advertisments