Forum: Ruby on Rails How to call UNIX environment variable in rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af3cecc8af253b5acd3c09c5b67c0074?d=identicon&s=25 Valentino Lun (on9west)
on 2009-01-30 10:04
Dear all

How can I call the UNIX environment variable in my rails project?

For example
echo $HOME
/path/to/my/home/dir

Thank you very much
Valentino
Ad8b580d8004335c95d2d15518168ce3?d=identicon&s=25 Jej (Guest)
on 2009-01-30 11:02
(Received via mailing list)
This is not Rails related, but Ruby:

ENV['HOME']

Jej


On 30 jan, 10:04, Valentino Lun <rails-mailing-l...@andreas-s.net>
This topic is locked and can not be replied to.