Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 59642
BY: Eustáquio Rangel (taq)
DATE: 2008-08-22 14:29
SUBJECT: Installing DBI with OCI8

 

Hi there!

I needed to reinstall DBI and OCI8 here and really was confused by the config step.

After installed Oracle Instant Client and Ruby OCI8 there were no way I could specify OCI8 on the config line.

Since the Oracle driver is marked as deprecated ("This driver is deprecated in favor of DBD::OCI8.") on the README file, I didn't even try to configure with it.
But after some time trying to install DBI and having no success, I checked setup.rb and found that the packages method returns

["dbi", "dbd_proxy", "dbd_sybase", "dbd_sqlite", "dbd_mysql", "dbd_frontbase", "dbd_pg", "dbd_db2", "dbd_oracle", "dbd_msql", "dbd_sqlite3", "dbd_interbase", "dbd_odbc", "dbd_ado", "dbd_sqlrelay"]

There is no OCI there, so I tried the dbd_oracle and everything is running great! I didn't get the point if I'm still missing something or the README file needs to tell to use dbd_oracle and not even try with dbd_oci8.


Thread View

Thread Author Date
Installing DBI with OCI8Eustáquio Rangel2008-08-22 14:29

Post a followup to this message