diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-03-11 18:26:49 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-03-11 18:26:49 +0530 |
commit | bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f (patch) | |
tree | f0d868d45e92ff7b9472aaaefa88478dd941d3c3 /railties/lib/rails/commands | |
parent | 33800d2330e1c7d36dcbb5150857cfb33fc45379 (diff) | |
download | rails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.tar.gz rails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.tar.bz2 rails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.zip |
Use the -u switch for the `rails server` banner
- Because just passing the server argument to this command is
deprecated in https://github.com/rails/rails/pull/32058
Diffstat (limited to 'railties/lib/rails/commands')
-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 47c3f05bb3..74adc967e5 100644 --- a/railties/lib/rails/commands/server/server_command.rb +++ b/railties/lib/rails/commands/server/server_command.rb @@ -255,7 +255,7 @@ module Rails end def self.banner(*) - "rails server [thin/puma/webrick] [options]" + "rails server -u [thin/puma/webrick] [options]" end def prepare_restart |