Does anyone know how I can get a system variable like JAVA_HOME or
JBOSS_HOME from within Rails/Ruby?
–
Joshua S. Martin
Does anyone know how I can get a system variable like JAVA_HOME or
JBOSS_HOME from within Rails/Ruby?
–
Joshua S. Martin
For anyone still interested, I found that I can use ENV[‘JBOSS_HOME’] on
JRuby; haven’t checked if it works on C Ruby, but I would guess it does.
On Mon, May 24, 2010 at 2:13 PM, Joshua M.
[email protected]wrote:
Does anyone know how I can get a system variable like JAVA_HOME or
JBOSS_HOME from within Rails/Ruby?–
Joshua S. Martin
–
Joshua S. Martin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs