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

Update docs or dependencies to include installing webrick #864

Open
3 of 4 tasks
yuletide opened this issue Jan 18, 2023 · 4 comments
Open
3 of 4 tasks

Update docs or dependencies to include installing webrick #864

yuletide opened this issue Jan 18, 2023 · 4 comments

Comments

@yuletide
Copy link

yuletide commented Jan 18, 2023

With a fresh install on mac using chruby, ruby ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin21] (as suggested by jekyll docs) and github-pages (227) the command for jekyll serve fails complaining about missing webrick. Adding this to the Gemfile fixes the issue.

Before submitting an issue, please be sure to

This issue affects

  • The site generated by GitHub Pages
  • Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)

Followed the docs

What did you expect to happen?

jekyll serve to work

What happened instead?

This error jekyll/jekyll#8523

Additional information

@parkr
Copy link
Contributor

parkr commented Jan 19, 2023

Followed the docs

Which docs, specifically?

@hartsick
Copy link

hartsick commented Feb 8, 2023

I ran into this same issue following these docs: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll

@solvaholic
Copy link

Duplicate of #752

/cc #752 (comment):

Hi! In general, we recommend (and support) running the github-pages gem with the Ruby version we're running in production (2.7.x). We don't yet support Ruby 3.0.0. Ruby 2.7.x still has webrick so I'd recommend using that until we've upgraded for your GitHub Pages needs!

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

No branches or pull requests

5 participants