http://www.tutorialspoint.com/ruby/ruby_environment_variables.htm How to use Ruby to access Envrionment variables?