From: ruud grosmann Date: 2009-02-06T00:07:15+09:00 Subject: Re: connecting to an oracle database > Maybe you need to additionally require something like dbi/oci8 - it's > been a while that I used that so my memory may fail me here. I am sorry to have made a mess of my code example + output. The output is a cut and past of two different versions. In the output, the ODBC driver was mentioned, while I didn't use it in the script. It should read dbi:ODBC: /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:312:in `load_driver': Could not load driver (uninitialized constant OCI8::Driver) (DBI::InterfaceError) from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:154:in `_get_full_driver' from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:139:in `connect' from leeseb4:18 The problem is solved now; I have put OCI8.rb in the db folder and got it from ttp://ruby-oci8.rubyforge.org/svn/branches/ruby-oci8-1.0/lib/dbd/OCI8.rb Thanks for helping, Ruud On 05/02/2009, Robert Klemme wrote: > Please do not top post. > > 2009/2/5 ruud grosmann : >> The output of DBI.available_drivers is in my first mail. > > Oh, I overlooked that one. Sorry. > >> OCI8 is not >> available. But I was convinced that installing ruby-oci8 would install >> the OCI8-dbd. That is not true, apparently. > > Maybe you need to additionally require something like dbi/oci8 - it's > been a while that I used that so my memory may fail me here. > > Cheers > > robert > > -- > remember.guy do |as, often| as.you_can - without end > >