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

Use Gemfile to manage Rack version for development #47133

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

zzak
Copy link
Member

@zzak zzak commented Jan 25, 2023

This is an alternative to #47120.

The downside to this approach is that anyone installing actionpack from the main branch will probably(?) get Rack v3, which isn't fully compatible yet. Depending on #46594. As well as, once this change is released, any new installs (or bundle update) will grab Rack 3 as well, which may have other side-effects. For example, if they're mounting another non Rack 3 compatible library such as Sinatra (TBD?), or depending on other Rack 2 specific middleware, etc.

An example build can be found here:
https://buildkite.com/rails/rails/builds/93029#0185e6dd-f7da-4149-b11a-fa1a29ef38f0

This depends on rails/buildkite-config#34 to actually test different Rack versions in CI.

@ioquatix
Copy link
Contributor

I like this solution but I don't have a strong opinion which one we ultimately use going forward.

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

Successfully merging this pull request may close these issues.

None yet

3 participants