I\'m trying to install ruby-oci8 on OS X.
I\'ve tried installing both with and without sudo.
Error Message without sudo:
If you are using MAC with El Capitan, the DYLD_* environment variables are ignored,due the latest embedded feature of System Integrity Protection (SIP).
SO if you wants to install ruby-oci8 with El Capitan, first you have to disable SIP.
Follow these steps to disable SIP:
If you still facing problem try this link http://blog.codiez.co.za/2013/09/setup-oracle-instant-client-ruby-oci8-gem-mac/