Chris,

Thanks for taking the time to look at this. If you are referring to
Ruby/OCI8 for Oracle, yes I already have that installed. Any other ideas as
to how to get this fixed?

EZ

On 2/15/07, Chris McMahon <[EMAIL PROTECTED]> wrote:

Nothing to do with Watir.  You need to install the proper components
of Ruby DBI:  http://ruby-dbi.rubyforge.org/


On 2/15/07, ez <[EMAIL PROTECTED]> wrote:
>  Connecting to Oracle error
>  Hi,
>
> I just downloaded Ruby and Watir as well and my local XE Oracle database
> and trying a basic connection to Oracle database and I am getting this
> error:
>
> "custom_require.rb:27:in `gem_original_require': no such file to
>
> load -- oci8 (LoadError)."
>
> Here is my code:
>
> require 'oci8'
>
> connection = OCI8.new('ops$etfiop', 'etfiop', 'XE')
> connection.exec("select * from dual") do |row|
>
> puts 'dummy: ' + row[0] # outputs "dummy: X"
> end
> connection.logoff
>
> Any ideas???
>
> Thanks,
> EZ
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to