Skip to content

Commit 7f80f13

Browse files
Note Ruby incompability with Jekyll for GitHub Pages
1 parent d820c86 commit 7f80f13

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Before you can use Jekyll to test a site, you must:
5454
>
5555
> To fix the error, try running `bundle add webrick`, then re-running `bundle exec jekyll serve`.
5656
>
57+
> You might get other errors (related to missing gems and deprecated methods) if you've installed Ruby 3.2 or later. It is recommended to install Ruby 3.1.x or earlier instead due to compatibility issues with the `github-pages` gem.
58+
>
5759
> * If your `_config.yml` file's `baseurl` field contains your GitHub repository's link, you can use the following command when building locally to ignore that value and serve the site on `localhost:4000/`:
5860
>
5961
> ```shell

0 commit comments

Comments
 (0)