On Oct 3, 12:27 am, gers32 <[EMAIL PROTECTED]> wrote:
> Actually, I've had to do both... So my problem was actually solved by
> adding LD_LIBRARY_PATH to the mongrel_rails script.

Sorry, I got behind in reading this group, or I could have helped
earlier.  On my staging and production servers we have a /etc/
profile.d/rails.sh file like this:

[EMAIL PROTECTED] profile.d]$ cat rails.sh
#!/bin/bash
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export PATH=$PATH:$ORACLE_HOME/bin
export RAILS_ENV=production
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:$ORACLE_HOME/lib

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to