From: KUBO Takehiro Date: 2009-04-16T13:15:54+09:00 Subject: Re: connecting to Oracle using OCI8 and DBI On Thu, Apr 16, 2009 at 1:44 AM, Peter Bailey wrote: > Takehiro Kubo wrote: >>> You have two ways to use dbi and Oracle. >>> 1. Use the latest dbi instead of 0.1.1. >>> Add "require 'rubygems'" prior to "require 'dbi'". Gem packages are unavailable unless "require 'rubygems'". >>> Otherwise, >>> 2. Copy dbd/OCI8.rb to DBD/OCI8/OCI8.rb. >> >> Yet another way: >> 3. Use One-Click Installer  1.8.6-27 Release Candidate 2 >>    The bundled dbi version is 0.2.2. >>    You have no need to copy dbd/OCI8.rb to DBD/OCI8/OCI8.rb. > > Yeh, well, I don't see any one-click installer for 1.8.6-27, only 1.8.6. What I said is ruby186-27_rc2.exe in the following link. http://rubyforge.org/frs/?group_id=167 > And, that's what I've been using. Your dbi version is 0.1.1. It means your are using ruby186-26.exe or earlier.