Created
September 1, 2009 22:48
-
-
Save ebeigarts/179442 to your computer and use it in GitHub Desktop.
Ruby + Oracle + Snow Leopard
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 characters
= Ruby + Oracle + Snow Leopard | |
Jāuzliek 64bit InstantClient: | |
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html | |
$ su - | |
$ export DYLD_LIBRARY_PATH=/path/to/instantclient | |
$ cd /path/to/instantclient && ln -s libclntsh.dylib.10.1 libclntsh.dylib | |
$ gem uninstall ruby-oci8 --all --executables --ignore-dependencies | |
$ rm -rf /Library/Ruby/Gems/1.8/gems/ruby-oci8-* | |
$ ARCHFLAGS="-arch x86_64" gem install ruby-oci8 | |
$ ARCHFLAGS="-arch x86_64" gem install ruby-oci8 -v 1.0.6 | |
Vajadzīgs ja lieto veco activerecord-oracle-adapter: | |
$ tar zxf ./ruby-oci8-1.0.6.tar.gz | |
$ cd ruby-oci8-1.0.6 | |
$ ARCHFLAGS="-arch x86_64" make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment