DBI is probably compiled with an 8i driver:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#30_09

    robert

"Wirianto Djunaidi" <wirianto.djunaidi / mitrais.com> schrieb im Newsbeitrag
news:4141717E.4000402 / mitrais.com...
> Hi,
>
> I am using one-click installer 1.8.1, and trying to use DBI connecting
> to Oracle 9i.
> And I got connection problem with it and wondering if anyone can help.
> Couldn't
> find any info on google that solve my problem.
>
> Here are the error message: ORA-06401: NETCMN: invalid driver designator
>
> Using this simple ruby script:
> #! /usr/bin/env ruby
>
> require "dbi"
>
> begin
>     dbh = DBI.connect("dbi:Oracle:kms:172.19.12.143", "kmsproduct",
> "kmsproduct"
> )
> rescue DBI::DatabaseError => e
>     puts "An error occured"
>     puts "Error code: #{e.err}"
>     puts "Error messagE: #{e.errstr}"
> ensure
>     dbh.disconnect if dbh
> end
>
> $ ruby --version
> ruby 1.8.1 (2003-12-25) [i386-mswin32]
>
> Thanks in advance
>