How to call UNIX environment variable in rails

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

This is not Rails related, but Ruby:

ENV['HOME']

Jej