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: add rackup as a dependency #13

Merged
merged 1 commit into from Sep 9, 2022
Merged

fix: add rackup as a dependency #13

merged 1 commit into from Sep 9, 2022

Conversation

matmorel
Copy link
Contributor

@matmorel matmorel commented Sep 9, 2022

Description 📖

This pull request fix a crash that occur when using rack 3.0.0

ERROR LoadError: cannot load such file -- rack/handler

Background 📜

This was happening because rack 3.0.0 has been release recently. rack-proxy doesn't fix the rack version, resulting in installing and using version 3.0.0 when running bundle install for the first time.

This version introduce some breaking changes : in our case, rack handlers have been moved into a separate gem named rackup

The Fix 🔨

Using the rackup gem instead of rack to get handlers.

@netlify
Copy link

netlify bot commented Sep 9, 2022

Deploy Preview for jekyll-vite canceled.

Name Link
🔨 Latest commit 09f7a6d
🔍 Latest deploy log https://app.netlify.com/sites/jekyll-vite/deploys/631b54ae319e4c0008462ab8

@ElMassimo
Copy link
Owner

Hi!

Had noticed your fork and the usage of rackup (and an associated discussion), thanks for the pull request!

@ElMassimo ElMassimo changed the title fix: Crashes when using rack 3.0.0 fix: add rackup as a dependency Sep 9, 2022
@ElMassimo ElMassimo merged commit 55bc659 into ElMassimo:main Sep 9, 2022
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.

None yet

2 participants