I can’t figure out what is going on below. Can somebody help?
christiansolorzano@Christian christian-thoughts % bundle exec jekyll serve
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Configuration file: /Users/christiansolorzano/Documents/christian-thoughts/_config.yml
Source: /Users/christiansolorzano/Documents/christian-thoughts
Destination: /Users/christiansolorzano/Documents/christian-thoughts/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.482 seconds.
Auto-regeneration: enabled for '/Users/christiansolorzano/Documents/christian-thoughts'
------------------------------------------------
Jekyll 4.0.1 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
/Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in `require_relative'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in `setup'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:100:in `process'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `each'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/exe/jekyll:15:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/jekyll:25:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/jekyll:25:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/bundle:25:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/bundle:25:in `<main>'
This is a dumb question, but how exactly do I do that?
This was my attempt:
christiansolorzano@Christian christian-thoughts % bundle exec jekyll serve
/Library/Ruby/Site/2.6.0/rubygems.rb:275:in `find_spec_for_exe': Could not find 'bundler' (2.1.4) required by your /Users/christiansolorzano/Documents/christian-thoughts/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.1.4`
from /Library/Ruby/Site/2.6.0/rubygems.rb:294:in `activate_bin_path'
from /usr/bin/bundle:23:in `<main>'
this looks like a different issue - are you running it from a different location? this issue is saying you don’t have bundler other issue was fine with bundler but you didn’t have webrick.
christiansolorzano@Christian christian-thoughts % bundle exec jekyll serve
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Configuration file: /Users/christiansolorzano/Documents/christian-thoughts/_config.yml
Source: /Users/christiansolorzano/Documents/christian-thoughts
Destination: /Users/christiansolorzano/Documents/christian-thoughts/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.474 seconds.
Auto-regeneration: enabled for '/Users/christiansolorzano/Documents/christian-thoughts'
------------------------------------------------
Jekyll 4.0.1 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
/Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in `require_relative'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in `setup'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:100:in `process'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `each'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/jekyll-4.0.1/exe/jekyll:15:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/jekyll:25:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/jekyll:25:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
from /Users/christiansolorzano/.gem/ruby/3.1.3/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/bundle:25:in `load'
from /Users/christiansolorzano/.gem/ruby/3.1.3/bin/bundle:25:in `<main>'