Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

370
Views
Jekyll Website works fine on local server but fails in github pages

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

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

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.

over 4 years ago · Santiago Trujillo Report

0

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.

over 4 years ago · Santiago Trujillo Report

0

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.

  1. Cloned git repo at commit 425bb79b99deb4b7a00d2a13b4fd8c857a22ca49.
  2. bundle install in tennis-events directory
  3. bundle exec jekyll serve
  4. Observed this error /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)
  5. Found this jekyll issue #8523
  6. Ran bundle add webrick per issue#8523 comment
  7. bundle exec jekyll serve
  8. Observed website rendering at http://localhost:4000/tennis-events/ jekyll serve screenshot
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!