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

Add webrick as Ruby 3 doesn’t include it #914

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrmanc
Copy link
Contributor

@mrmanc mrmanc commented Mar 22, 2024

Fixes #752. webrick wasn’t available it’s not bundled as of Ruby v3.0.0. I’ve resolved this by adding it to the dependencies class.

I’ve specified the BUNDLE_GEMFILE as the one that exists in the /src/site location (the source of the site being built) was preventing Jekyll from finding the installed dependencies.
This may be fixable by upgrading Jekyll as it is now declared as a dependency.
@kwin
Copy link

kwin commented Apr 4, 2024

I would rather expect that the docker image uses the same ruby version by default as GitHub Pages publishing (still 2.x)

@mrmanc
Copy link
Contributor Author

mrmanc commented Apr 5, 2024

Yep, me too (GHP is using Ruby 2.7.4), but it was upgraded to use 3.x in a1e407c in January. There’s a conversation in #898 where this was discussed it seems.

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.

Jekyll serve fails on Ruby 3.0 (webrick missing)
2 participants