How to call UNIX environment variable in rails


#1

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


#2

This is not Rails related, but Ruby:

ENV[‘HOME’]

Jej

On 30 jan, 10:04, Valentino L. removed_email_address@domain.invalid