How to install ruby-oci8?

后端 未结 11 1554
一生所求
一生所求 2020-12-24 08:24

I\'m trying to install ruby-oci8 on OS X.

I\'ve tried installing both with and without sudo.

Error Message without sudo:

         


        
11条回答
  •  暖寄归人
    2020-12-24 08:55

    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:

    1. Restart your Mac.
    2. Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
    3. From the Utilities menu, select Terminal.
    4. At the prompt type exactly the following and then press Return: csrutil disable
    5. Terminal should display a message that SIP was disabled.
    6. From the  menu, select Restart.

    If you still facing problem try this link http://blog.codiez.co.za/2013/09/setup-oracle-instant-client-ruby-oci8-gem-mac/

提交回复
热议问题