Github-Pages uses Jekyll 3.9, which isn’t compatible with Ruby 3. Downgrading to Ruby 2.7 should avoid the problem.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Locally served jekyll is broken | 3 | 595 | September 20, 2021 | |
|
Unable to build website using Jekyll 4
|
4 | 659 | August 13, 2021 | |
| Jekyll 3.8.6 | Error: Can't convert Integer into String | 9 | 1785 | July 22, 2019 | |
| Wrong number of arguments (given 2, expected 1) | 16 | 16512 | November 12, 2022 | |
| Error upon `bundle exec jekyll 3.8.7 new .` for Github Pages | 8 | 8417 | July 11, 2020 |