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

fix: rack 2.x dont load Rack::Handler::WEBrick class to avoid warnings #156

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Jun 17, 2024

use webbrick.rb custom handler in cli's

related to #152

we get warnings when require'ing and using Rack::Handler::WEBrick. Removing this line removs teh warning, and tests all still pass

lib/rack/handler/webbrick.rb:5: warning: already initialized constant Rack::Handler::WEBrick
.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/handler/webrick.rb:25: warning: previous definition of WEBrick was here

@YOU54F YOU54F mentioned this pull request Jun 17, 2024
@YOU54F YOU54F merged commit 5457575 into pact-foundation:master Aug 6, 2024
31 checks passed
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

Successfully merging this pull request may close these issues.

1 participant