LoadError using livereload on MacOS Catalina

Hi All,

I have a new MacBook Pro running Catalina, I have a fresh install of Jekyll 4.0 using Ruby 2.6.5p114 via Homebrew.

All seems to be OK, except when I use the --livereload switch. I get the following error.

% bundle exec jekyll serve --trace --livereload
Configuration file: /Users/martin/Development/Projects/gone-sailing/_config.yml
Source: /Users/martin/Development/Projects/gone-sailing
Destination: /Users/martin/Development/Projects/gone-sailing/_site
Incremental build: disabled. Enable with --incremental
Generating…
done in 0.606 seconds.
Auto-regeneration: enabled for ‘/Users/martin/Development/Projects/gone-sailing’
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/2.6.0/bin/jekyll)
LoadError: incompatible library version - /Users/martin/.gem/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.bundle
/Users/martin/.gem/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http_parser.rb:2:in require' /Users/martin/.gem/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http_parser.rb:2:in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http/parser.rb:1:in require' /Users/martin/.gem/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http/parser.rb:1:in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket/handshake.rb:1:in require' /Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket/handshake.rb:1:in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:15:in require' /Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:15:in block in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:14:in each' /Users/martin/.gem/ruby/2.6.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:14:in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve/live_reload_reactor.rb:3:in require' /Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve/live_reload_reactor.rb:3:in <top (required)>’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:143:in require_relative' /Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:143:in register_reload_hooks’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:98:in process' /Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in block in process_with_graceful_fail’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in each' /Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in process_with_graceful_fail’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' /Users/martin/.gem/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute’
/Users/martin/.gem/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each' /Users/martin/.gem/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute’
/Users/martin/.gem/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go' /Users/martin/.gem/ruby/2.6.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program’
/Users/martin/.gem/ruby/2.6.0/gems/jekyll-4.0.0/exe/jekyll:15:in <top (required)>' /usr/local/lib/ruby/gems/2.6.0/bin/jekyll:23:in load’
/usr/local/lib/ruby/gems/2.6.0/bin/jekyll:23:in `<top (required)>’