Created
March 26, 2014 15:39
Revisions
-
peterhellberg created this gist
Mar 26, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Install of ruby-oci8 for 10.9/OSX Mavericks - step-by-step: 1. Go here: http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html 2. Download the 64bit versions of instantclient-sqlplus, instantclient-sdk, instantclient-basic - the 32bit versions do not work with OSX 10.9 3. Create directories at /opt/oracle 4. Unzip instantclient-basic first, move to /opt/oracle (should add a folder - something like /opt/oracle/instantclient_11_2/) 5. Unzip instantclient-sdk and move its contents to /opt/oracle/instantclient_11_2/ 6. Unzip instantclient-sqlplus and move its contents /opt/oracle/instantclient_11_2/ 7. Open Terminal (if you haven't already) and type... 8. DYLD_LIBRARY_PATH=/opt/oracle/instantclient_11_2 export DYLD_LIBRARY_PATH 9. ORACLE_HOME=/opt/oracle/instantclient_11_2 export ORACLE_HOME 10. cd /opt/oracle/instantclient_11_2 11. ln -s libclntsh.dylib.11.1 libclntsh.dylib (creates a symbolic link) 12. env 13. verify that DYLD_LIBRARY_PATH=/opt/oracle/instantclient_11_2 (be sure there's no trailing / after instantclient_11_2) 14. verify ORACLE_HOME=/opt/oracle/instantclient_11_2 15. gem install ruby-oci8 This guide is copied from [this answer](http://stackoverflow.com/a/21443313) on Stack Overflow.