search for: path_to_java_hom

Displaying 1 result from an estimated 1 matches for "path_to_java_hom".

Did you mean: path_to_java_home
2006 Oct 30
2
RJB in Rails - setting JAVA_HOME correctly in environment.rb
.../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,...