Add support for webrick dependency or update readme.md to add guiding steps
akmalick opened this issue · 3 comments
akmalick commented
Problem Statement : bundle exec jekyll serve
fails on Ruby 3+.
Error thrown :
require': cannot load such file -- webrick (LoadError)
Expected :
bundle exec jekyll serve
should work fine and serve the site.
Current workaround :
- Execute
bundle add webrick
and then runbundle exec jekyll serve
- Add
gem "webrick"
to the gemfile and runbundle exec jekyll serve
Possible solutions:
- 1. Update the Gemfile with
gem "webrick"
- 2. Update the readme.md to highlight above two workarounds.
First Solution makes more sense to me as users of this project won't have to deal with the dependency themselves anymore, but it shouldn't hurt to update the readme.md file too along with it.
If this makes sense to all, I'll gladly raise the PR for Gemfile and ReadMe changes.
Similar discussion can be found here : jekyll/jekyll#8523
vsoch commented
For now let’s add instructions for adding webrick given the build fails.