I have loaded ruby-oci8 and dbi. I did gem install of dbi and oci8.
I getting an error "uninitialized constant OCI8::Driver" while
performing some commands which u can show below:-
irb(main):006:0> dbd_dr = DBI::DBD.const_get(:OCI8)
=> OCI8
irb(main):007:0> dbd_dr::Driver.new
NameError: uninitialized constant OCI8::Driver
from (irb):7
from C:/Ruby200/bin/irb:12:in `<main>'
This error is not an issue because nobody define OCI8::Driver.
I guess that what you want to get is DBI::DBD::OCI8::Driver.
It is defined *after* DBI.connect('dbi:OCI8:', 'username','password') is
executed.