Closed jadon1979 closed 9 years ago
Does your script require 'pg' before 'oci8'? If so, it is same issue with https://github.com/kubo/ruby-oci8/issues/71. Could you change the script to require 'oci8' before 'pg'?
Otherwise, could you run your script which clashes ruby with
the following environment variables and send the output files
/tmp/bindings.log.*
to kubo@jiubao.org?
Adding "require 'oci8'" to application.rb fixed the issue globally. Thanks.
if you get "TNS:could not resolve the connect identifier specified" then make sure to check ENV['TNS_ADMIN'] right before your call to OCI8. It may not have passed correctly.
Side Note: We are using a ldap.ora file in our instant client.
db = OCI8.new(user, password, db)