Forum: Ruby on Rails environment variable question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
zoomanjee (Guest)
on 2005-11-21 15:47
(Received via mailing list)

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
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

Where have I gone wrong ?

This topic is locked and can not be replied to.