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

Make Rack 3 work OOTB #368

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Make Rack 3 work OOTB #368

merged 2 commits into from
Nov 1, 2024

Conversation

Earlopain
Copy link
Contributor

  • Rack::Static is not autoloaded anymore
  • Headers must be lowercase (not sure where Rack::Lint is coming from)

I prepend bundle exec to commands because I end up activating rack 2.2.9 beforehand otherwise.

This probably still works with rack 2 as well but does it have to? Closes #366

* Rack::Static is not autoloaded anymore
* Headers must be lowercase (not sure where Rack::Lint is coming from)

I prepend `bundle exec` to commands because I end up activating rack 2.2.9 beforehand otherwise.
@zzak
Copy link
Member

zzak commented Nov 1, 2024

This probably still works with rack 2 as well but does it have to?

No, this is just for running inside the repo to preview changes. It was added because turbolinks didn't work well with local files, iirc.

@zzak zzak merged commit cd75e36 into rails:main Nov 1, 2024
@Earlopain
Copy link
Contributor Author

Yeah, there are some issues with CORS when doing it via file:/

@Earlopain Earlopain deleted the rack-3 branch November 1, 2024 17:02
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.

Running rails doc setup instructions breaks when bundler installs Rack v3
2 participants