#16 Problem finding Oracle driver in 1.8.1

open
nobody
None
5
2004-02-27
2004-02-27
No

Ruby 1.8.1
Solaris 9
Oracle driver 0.2.11
ruby-dbi 0.21

Using "dbi:Oracle:my_db" as the connect string, I get
this with DBI:

>ruby dbitest.rb
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in
`load_driver': is not a class/module (TypeError)
from
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in
`_get_full_driver'
from
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'
from dbitest.rb:6

This doesn't happen with 1.6.8, so there's some sort of
parsing error going on.

I have also heard that this happens with mysql.

Regards,

Dan

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks