github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 350 forks source link

Jekyll serve fails on Ruby 3.1.2 (webrick missing) #834

Closed pooraniarvind closed 2 years ago

pooraniarvind commented 2 years ago

Hi All,

I am new to Jekyll.

I get the following error when i run jekyll serve while building site locally: Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)

Also why the script is asking to enable incremental build with --incremental.

TIA, Poorani

nickserv commented 2 years ago

Duplicate of #752

pooraniarvind commented 2 years ago

thanks Nick.