You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardexpand all lines: docs/_docs/step-by-step/01-setup.md
+3
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,9 @@ before we can view it. Run either of the following commands to build your site:
76
76
called `_site`.
77
77
*`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.
78
78
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
+
79
82
{: .note .info}
80
83
When you're developing a site, use `jekyll serve`. To force the browser to refresh with every change, use `jekyll serve --livereload`.
0 commit comments