-
zzak authored
``` Failure: Rails::Command::HelpIntegrationTest#test_prints_help_via_`X:help`_command_when_running_`X`_and_`X:X`_command_is_not_defined [/Users/zzak/code/rails/railties/t est/command/help_integration_test.rb:33]: --- expected +++ actual @@ -1,4 +1,5 @@ -"Commands: +"Rack::Server is deprecated and replaced by Rackup::Server +Commands: bin/rails dev:cache # Toggle development mode caching on/off bin/rails dev:help [COMMAND] # Describe available commands or one specific... ``` From @ioquatix: > Yeah you need to load `rackup/server` and if you get `LoadError` fall back to `Rack::Server`. This PR implements that paraphrasing, and resolves this deprecation: ``` Rack::Server is deprecated and replaced by Rackup::Server ``` Example build: https://buildkite.com/rails/rails/builds/95468#0187559d-3190-4e6f-8ac5-65042b2a5412/1334-1342 Co-authored-by:
Samuel Williams <samuel.williams@oriontransfer.co.nz>
zzak authored``` Failure: Rails::Command::HelpIntegrationTest#test_prints_help_via_`X:help`_command_when_running_`X`_and_`X:X`_command_is_not_defined [/Users/zzak/code/rails/railties/t est/command/help_integration_test.rb:33]: --- expected +++ actual @@ -1,4 +1,5 @@ -"Commands: +"Rack::Server is deprecated and replaced by Rackup::Server +Commands: bin/rails dev:cache # Toggle development mode caching on/off bin/rails dev:help [COMMAND] # Describe available commands or one specific... ``` From @ioquatix: > Yeah you need to load `rackup/server` and if you get `LoadError` fall back to `Rack::Server`. This PR implements that paraphrasing, and resolves this deprecation: ``` Rack::Server is deprecated and replaced by Rackup::Server ``` Example build: https://buildkite.com/rails/rails/builds/95468#0187559d-3190-4e6f-8ac5-65042b2a5412/1334-1342 Co-authored-by:
Samuel Williams <samuel.williams@oriontransfer.co.nz>
Loading