-
Notifications
You must be signed in to change notification settings - Fork 58.8k
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
Include step to add "webrick" gem on "Testing your GitHub Pages site locally with Jekyll" page #14492
Comments
Hi @caseycarroll! Thanks for opening this ✨ It looks like I don't think we should include this as part of the procedural because it's only going to help folks with Ruby 3.0 and versions of Jekyll prior to I've just closed #14511 as I think it will be easier to start over. I'd suggest adding a I'll include a link to our docs on callout tags below: https://github.com/github/docs/blob/main/contributing/content-markup-reference.md#callout-tags You (or anyone else!) can open a PR to work on this! 😸 |
@stevecat thank you for looking into this! I totally agree with your suggestion. I'm glad to hear Jekyll will include |
fix: add a note to install the webrick gem for Ruby 3.0 users
Tyvm. This is really helpful for someone like me who is a total beginner in jekyll and ruby. |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll
What part(s) of the article would you like to see updated?
Ruby 3.0 no longer bundles the
webrick
gem. The docs should include a step to addgem webrick
to the reader's Gemfile.After completing prerequisites for "Testing your GitHub Pages site locally with Jekyll",
bundle exec jekyll serve
fails because jekyll can't find thewebrick
gem.I suggest the following changes under the "Building your site locally" section
For more info see jekyll/jekyll#8523
Additional information
No response
The text was updated successfully, but these errors were encountered: