diff options
author | Sam Oliver <sam@samoliver.com> | 2012-05-15 10:37:54 +0100 |
---|---|---|
committer | Sam Oliver <sam@samoliver.com> | 2012-05-30 22:28:07 +0100 |
commit | dce0afd47f334f61a4ab22acccef7c5e9d6e8b0a (patch) | |
tree | 98ff0f6fcd02335d8a8d82777c16f444ebfdfcf8 /railties/lib | |
parent | cdd6d9b53ad68ac9de0a5d9293aa9ab445a901b2 (diff) | |
download | rails-dce0afd47f334f61a4ab22acccef7c5e9d6e8b0a.tar.gz rails-dce0afd47f334f61a4ab22acccef7c5e9d6e8b0a.tar.bz2 rails-dce0afd47f334f61a4ab22acccef7c5e9d6e8b0a.zip |
Remove support for rails server RAILS_ENV=env-name
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index e68d2e05c5..9ef64da3ef 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -32,11 +32,6 @@ module Rails opt_parser.parse! args - # Handle's environment like RAILS_ENV=production passed in directly - if index = args.index {|arg| arg.include?("RAILS_ENV")} - options[:environment] ||= args.delete_at(index).split('=').last - end - options[:server] = args.shift options end |