I have a Jekyll website that also uses paginate-v2. I was deploying it on github pages, and it was working fine, until I added pagination. Please checkout and help me fix this error.
You can get the code on https://github.com/divyessh/tennis-events/
And here is the last deployment without pagination :
https://divyessh.github.io/tennis-events/
Any help will be appreciated. Thank you
Paginate-V2 is not listed as supported by Github Pages, and is likely not supported. However judging by your use case you should be able to use the supported version of Paginate.
Maybe github pages uses a custom ruby version. If you get that information, docker could help you to replicate the exact github pages infrastructure in your localhost.
Please see if running adding webrick gem to your project resolves the GitHub pages build error.
Here are the following steps I did to make your website work locally using jekyll serve.
bundle install in tennis-events directorybundle exec jekyll serve/usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)bundle add webrick per issue#8523 commentbundle exec jekyll serve