I have installed dbi,oci8,ruby 1.8.6 ,oracle client 9.2 on XP machine
I have tried to connect a remote database using the code

dbh = DBI.connect('DBI:OCI8:ORCL','ftdam','ftdam')

where ORCL is the configuration file tnsnames.ora file.
but I am unable to connect .It is giving error like :

OCI Library Initialization Error

I can connect to the databse using same username ,password and
host string 'ORCL 'in sqlplus .but can't through ruby program ,Anybody
help !!!
-- 
Posted via http://www.ruby-forum.com/.