From bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Mon, 11 Mar 2019 18:26:49 +0530 Subject: 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 --- railties/lib/rails/commands/server/server_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3