All,
I am attempting to use RJB (Java-Ruby Bridge - see:
http://arton.no-ip.info/collabo/backyard/?RubyJavaBridge) in my Rails
app.
The documentation says: “Both LD_LIBRARY_PATH and JAVA_HOME setting
required in environment.rb file of RoR.”
However, it doesn’t say how to set these variables in environment.rb.
I’ve tried
JAVA_HOME = ‘path_to_java_home’
ENV[‘JAVA_HOME’] = ‘path_to_java_home’
but I can’t get it to start the VM.
Is there someone out there who has gotten RJB working inside of their
Rails app. that can explain the correct way to set these variables in
environment.rb?
Thanks,
Wes