Quoting Adam Grant <[email protected]>: > Im not near my mac, but if you have instant client installed, I have > gotten it to work by setting ORACLE_HOME (instant client dir) > ,LD_LIBRARY_PATH (oracle home/lib) , and TNS_ADMIN environment vars before > running sqlplus or irb for oci8. Drop a tnsnames.ora into a dir in your > home folder and set the TNS_ADMIN path to it.
That is also my favored option - though my team perfers to use the forrest of parentheses connect strings instead of a TNS_Names file. The fact that you can connect from within SQLPlus makes it seem like just a path or syntax issue - but it seems somewhat familiar - like I have had my machine behave that way. What Mac OS and instant client versions are you using? -- Cynthia N. Kiser [email protected] "Ever tried. Ever failed. No matter. Try again. Fail again. Fail better" Worstward Ho by Samuel Beckett -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
