Tag: environment

Set your Rails Environment Globally

June 20th, 2009, Comments Off

In much of the rails documentation it is suggested that when you want to run a task in a specific environment, you should set the RAILS_ENV environment variable on the command line where you are running the task.
For example, assume you want to run rake db:migrate on the production system (should be done automatically [...]

Feed

http://www.mendable.com / environment