Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rack 3] Deprecation warning emitted Rack::Server is deprecated and replaced by Rackup::Server #2284

Open
olleolleolle opened this issue Mar 26, 2024 · 0 comments

Comments

@olleolleolle
Copy link
Contributor

olleolleolle commented Mar 26, 2024

What is the current behavior?

The current behavior is "derive from Rack::Server", in Padrino::Server.

That emits a deprecation warning when using Rack 3:

Rack::Server is deprecated and replaced by Rackup::Server

What is the expected behavior?

That there are no deprecation warnings when running on Rack 3.

Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?

I assume rack 3.x introduced this, when Rackup gem took the lead in handling config.ru files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant