Environment variable question


#1

Hi,

I’m trying to set LD_LIBRARY_PATH for my ruby on rails application which
uses rjb to connect to a java application.

I have set the variable using SetEnv in the apache vhosts.conf file. But
somehow it is not available in my app. I’m getting “can’t create Java
VM”
error from rjb which probably is because the LD_LIBRARY_PATH is not set.

I tried setting ENV[‘LD_LIBRARY_PATH’] in environment.rb but didn’t
help.

Where have I gone wrong ?

Thnx