OCIError on 'require'; permissions issue?
问题 I've just recently started learning/using Ruby at work. I've got a super-simple test script that just connects to our Oracle 10g database, runs a select, and 'puts' the results to the screen. This is on a Solaris 10 server. If I run the script as the 'apps' user (the system user that runs our automated scripts), the script runs fines. If I run it as myself, it throws an error: oci8lib.c:98:in oci8lib.so: OCI Library Initialization Error (OCIError) from /usr/local/lib/ruby/site_ruby/1.8/oci8