We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uninitialized constant Rack::Handler
I have already:
Tests pass
When running the tests with Rack version >= 3.1.0, the tests fail with the error:
NameError: uninitialized constant Rack::Handler
This looks related to changes in Rack starting 3.1.0 - https://github.com/rack/rack/blob/main/CHANGELOG.md#310---2024-06-11
An example build with Rack > 3.1.0 ❌
https://github.com/alphagov/pact-mock_service/actions/runs/9513302857
And example build with Rack < 3.1.0 ✅
https://github.com/alphagov/pact-mock_service/actions/runs/9513330459
The text was updated successfully, but these errors were encountered:
I've put a fix that worked for me locally here https://github.com/pact-foundation/pact-mock_service/pull/146/files#r1639534752
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Pre issue-raising checklist
I have already:
Software versions
Expected behaviour
Tests pass
Actual behaviour
When running the tests with Rack version >= 3.1.0, the tests fail with the error:
This looks related to changes in Rack starting 3.1.0 - https://github.com/rack/rack/blob/main/CHANGELOG.md#310---2024-06-11
Steps to reproduce
An example build with Rack > 3.1.0 ❌
https://github.com/alphagov/pact-mock_service/actions/runs/9513302857
And example build with Rack < 3.1.0 ✅
https://github.com/alphagov/pact-mock_service/actions/runs/9513330459
The text was updated successfully, but these errors were encountered: