Skip to content

Commit 2567aad

Browse files
Add warning about webrick to 01-setup.md
Since Ruby version 3.0.0 or higher do not come with [webrick](github/pages-gem#752). There is already a warning on the [Quickstart](https://jekyllrb.com/docs/) page. This change adds a similar warning on the `01-setup.md`. Alternatively, a warning can also be added on line 34 to put in `gem "webrik"` if using Ruby version >= 3.0.0.
1 parent 493b800 commit 2567aad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/_docs/step-by-step/01-setup.md

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ before we can view it. Run either of the following commands to build your site:
7676
called `_site`.
7777
* `jekyll serve` - Does `jekyll build` and runs it on a local web server at `http://localhost:4000`, rebuilding the site any time you make a change.
7878

79+
{: .note .warning}
80+
If you are using Ruby version 3.0.0 or higher, running the above commands [may fail](https://github.com/github/pages-gem/issues/752). You may fix it by adding `webrick` to your dependencies: `bundle add webrick`
81+
7982
{: .note .info}
8083
When you're developing a site, use `jekyll serve`. To force the browser to refresh with every change, use `jekyll serve --livereload`.
8184

0 commit comments

Comments
 (0)