Skip to content

Added gem webrick#104

Open
manigandan-dorairaj wants to merge 1 commit into
yousinix:masterfrom
manigandan-dorairaj:master
Open

Added gem webrick#104
manigandan-dorairaj wants to merge 1 commit into
yousinix:masterfrom
manigandan-dorairaj:master

Conversation

@manigandan-dorairaj

Copy link
Copy Markdown

Bug:
bundle exec jekyll serve fails with the following stack trace: /home/argilo/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError) ....

Cause:
This happens because webrick is no longer a bundled gem in Ruby 3.0.

Solution:
Adding gem "webrick" to my Gemfile solves the problem

Reference:
jekyll/jekyll#8523

Bug:
bundle exec jekyll serve fails with the following stack trace:
/home/argilo/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
....

Cause:
This happens because webrick is no longer a bundled gem in Ruby 3.0. 

Solution:
Adding gem "webrick" to my Gemfile solves the problem

Reference: 
jekyll/jekyll#8523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant