Set shell variable
To see what a shell variable is currently set to you can echo it.
$ echo $RAILS_ENVTo set a shell variable you export it.
$ export RAILS_ENV=productionVarious snippets that I have found to be helpful.
To see what a shell variable is currently set to you can echo it.
$ echo $RAILS_ENVTo set a shell variable you export it.
$ export RAILS_ENV=production