In Irb i am able to run

ENV['OvInstallDir']

Returns the correct path 'c:\program files\'

THank you for any further help.

On Wednesday, May 16, 2018 at 12:57:47 PM UTC-5, Jason McMahan wrote:
>
> Could someone please suggest how i could read environment variables from 
> windows?
> In cmd i can run 
>
> "%ovinstalldir%bin\win64\test.bat" -version
>
> However i am attempting to do the same in the irb and not sure how i 
> should do that.
>
> Any help is greatly appreciated.
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ec9a5add-3a25-464f-b4cc-92f7e34effd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to