Re: Get System Variable

Joshua Martin
Mon, 24 May 2010 18:41:53 -0000

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 Martin
<josmar52789-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at