diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-01 08:18:47 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-01 08:18:47 +0900 |
commit | 0434700b0375ffb29869f4234660f5e94250ab53 (patch) | |
tree | 005bd0087e86880c4c25af3ddb8943f86abb0f8a /railties/lib | |
parent | 4f384678b639b924b481ec4959f9b93b9d34061c (diff) | |
download | rails-0434700b0375ffb29869f4234660f5e94250ab53.tar.gz rails-0434700b0375ffb29869f4234660f5e94250ab53.tar.bz2 rails-0434700b0375ffb29869f4234660f5e94250ab53.zip |
`HOST` must be all capital letters
Ref: https://github.com/rails/rails/blob/master/railties/lib/rails/commands/server/server_command.rb#L194
Diffstat (limited to 'railties/lib')
-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 |