-
Notifications
You must be signed in to change notification settings - Fork 75
How to install on Mac OSX 10.9 Mavericks
Rodrigo Panachi edited this page Aug 14, 2014
·
1 revision
Slightly updated version of install of ruby-oci8 for 10.9/OSX Mavericks - step-by-step:
- Go here: http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
- Download the 64bit versions of instantclient-sqlplus, instantclient-sdk, instantclient-basic - the 32bit versions do not work with OSX 10.9
- Create directories at /opt/oracle
- Unzip instantclient-basic first, move to /opt/oracle (should add a folder - something like /opt/oracle/instantclient_11_2/)
- Unzip instantclient-sdk and move its contents to /opt/oracle/instantclient_11_2/
- Unzip instantclient-sqlplus and move its contents /opt/oracle/instantclient_11_2/
- Open Terminal (if you haven't already) and type...
- DYLD_LIBRARY_PATH=/opt/oracle/instantclient_11_2 export DYLD_LIBRARY_PATH
- ORACLE_HOME=/opt/oracle/instantclient_11_2 export ORACLE_HOME
- cd /opt/oracle/instantclient_11_2
- ln -s libclntsh.dylib.11.1 libclntsh.dylib (creates a symbolic link)
- env
- verify that DYLD_LIBRARY_PATH=/opt/oracle/instantclient_11_2 (be sure there's no trailing / after instantclient_11_2)
- verify ORACLE_HOME=/opt/oracle/instantclient_11_2
- gem install ruby-oci8
Should work after that. The file structure should look similar to: http://bit.ly/1ibBnbY
Original source: http://stackoverflow.com/a/21443313