The Lowly Life of a Tech
Monday, January 23, 2012
ENV before Ruby
When making environment variables available to a Ruby script, make sure the environment key/value pairs are declared
before
the call to run a Ruby script.
E.g.,
MY_ENV_VAR=test ruby show_my_env_var.rb
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment