Skip to content

Instantly share code, notes, and snippets.

@portableant

portableant/Error.md

Created Apr 12, 2021
Embed
What would you like to do?
Jekyll bundle fail - OSX Big Sur Ruby 3.0.0

Error

bundle exec jekyll serve Configuration file: /Users/danielpett/Documents/githubProjects/steppe-gold/_config.yml Source: /Users/danielpett/Documents/githubProjects/steppe-gold Destination: /Users/danielpett/Documents/githubProjects/steppe-gold/_site Incremental build: disabled. Enable with --incremental Generating... Jekyll Feed: Generating feed for posts done in 0.462 seconds. Auto-regeneration: enabled for '/Users/danielpett/Documents/githubProjects/steppe-gold' ------------------------------------------------ Jekyll 4.2.0 Please append --trace to the serve command for any additional information or backtrace. ------------------------------------------------ /Users/danielpett/.rbenv/versions/3.0.0/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) from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in <top (required)>' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:179:in require_relative' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:179:in setup' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb💯in process' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in each' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in process_with_graceful_fail' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block in execute' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' from /Users/danielpett/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in <top (required)>' from /usr/local/bin/jekyll:23:in load' from /usr/local/bin/jekyll:23:in <top (required)>' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:63:in load' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:63:in kernel_load' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:28:in run' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:494:in exec' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in dispatch' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/cli.rb:24:in start' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/exe/bundle:49:in block in <top (required)>' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/lib/bundler/friendly_errors.rb:130:in with_friendly_errors' from /Users/danielpett/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.16/exe/bundle:37:in <top (required)>' from /Users/danielpett/.rbenv/versions/3.0.0/bin/bundle:23:in load' from /Users/danielpett/.rbenv/versions/3.0.0/bin/bundle:23:in

'

Solution

bundle add webrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment