Takehiro Kubo wrote: > On Wed, Jul 22, 2009 at 2:11 PM, Dheeraj > Gambhir<checktestingthings / gmail.com> wrote: >> c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:52:in `init': OCI Library >> Initialization >> Error (OCIError) > > The following URL may help you. > http://rubyforge.org/forum/forum.php?thread_id=19973&forum_id=1078 I tried it also, but no gain :(, still m getting the same error i.e: C:/ruby/lib/ruby/site_ruby/1.8/dbi.rb:329:in `load_driver': Unable to load drive r 'OCI8' (DBI::InterfaceError) from C:/ruby/lib/ruby/site_ruby/1.8/dbi.rb:227:in `_get_full_driver' from C:/ruby/lib/ruby/site_ruby/1.8/dbi.rb:213:in `connect' from testcon.rb:8:in `dataVerification' from testcon.rb:15 On running the following code: require 'dbi' puts DBI.available_drivers dbh = DBI.connect('DBI:OCI8:MLBD', 'mlbread', 'mlbread') rs = dbh.prepare('select invoice_id from bam_order.ec_invoice where order_id=139920;') rs.execute while rsRow = rs.fetch do p rsRow end rs.finish dbh.disconnect Please help. Can you guys send me your dbi.rb and oci8.rb. Regards Dheeraj Gambhir -- Posted via http://www.ruby-forum.com/.