mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0a555dd421
When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases |
||
---|---|---|
.. | ||
console_test.rb | ||
server_test.rb |