diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-02-28 18:40:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 18:40:59 -0500 |
commit | 89d5d975e5405236816257d6de87acd268d6ce8c (patch) | |
tree | 52f486cb034594dae37c3e8e41923dd871a6b282 | |
parent | 77d3550f60a82bc316572026506df4123391d4b5 (diff) | |
parent | 0434700b0375ffb29869f4234660f5e94250ab53 (diff) | |
download | rails-89d5d975e5405236816257d6de87acd268d6ce8c.tar.gz rails-89d5d975e5405236816257d6de87acd268d6ce8c.tar.bz2 rails-89d5d975e5405236816257d6de87acd268d6ce8c.zip |
Merge pull request #28230 from y-yagi/HOST_to_be_in_uppercase
`HOST` must be all capital letters
-rw-r--r-- | railties/lib/rails/commands/server/server_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb index 1fa27a3155..7e8c86fb49 100644 --- a/railties/lib/rails/commands/server/server_command.rb +++ b/railties/lib/rails/commands/server/server_command.rb @@ -177,7 +177,7 @@ module Rails user_supplied_options << name end end - user_supplied_options << :Host if ENV["Host"] + user_supplied_options << :Host if ENV["HOST"] user_supplied_options << :Port if ENV["PORT"] user_supplied_options.uniq end |