Ensure specified environment is used #18

Merged
mmacedo merged 1 commits from environment into master 2012-07-09 12:48:29 +00:00

1 Commits

Author SHA1 Message Date
Michel Pavan Macedo 0435a4c17c Ensure specified environment is used
If for any reason RAILS_ENV was set to test this command will start a
Rails server with test environment:

    rails s -e development

But this one will start with development environment:

    RAILS_ENV=development rails s

I am not sure who is at fault here, but this ensures guard-rails will
always use the environment specified by the environment option.
2012-07-08 06:29:01 -03:00