Created
October 1, 2009 15:36
-
-
Save nowhereman/199050 to your computer and use it in GitHub Desktop.
Fix ruby-oci8 gem install on Ubuntu 8.10
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
sudo env LD_LIBRARY_PATH=$LD_LIBRARY_PATH ORACLE_HOME=$ORACLE_HOME gem install ruby-oci8 |
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
#Fix ruby-oci8 gem install on Ubuntu | |
#Because LD_LIBRARY_PATH env var isn't recognize by last Ruby EE 1.8.6 | |
#In the file $RUBY_HOME/lib/ruby/gems/1.8/gems/ruby-oci8-*/ext/oci8/oraconf.rb | |
#add this line | |
ENV['LD_LIBRARY_PATH']||='/usr/lib/oracle/10.2.0.4/client/lib'#Lib path of Oracle Instant Client | |
#before the line #489 | |
@@ld_envs.each do |env| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment