neovim/neovim.github.io

jekyll errors when running serve locally

rockerBOO opened this issue · 0 comments

jekyll was having issues building locally on 3.9.0.

➜ bundle exec jekyll serve --watch --livereload
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Configuration file: /home/rockerboo/code/neovim.github.io/dev/_config.yml
            Source: /home/rockerboo/code/neovim.github.io/dev
       Destination: /home/rockerboo/code/neovim.github.io/dev/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 2.604 seconds.
jekyll 3.9.0 | Error:  no implicit conversion of Hash into Integer
/home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/pathutil-0.16.2/lib/pathutil.rb:502:in `read': no implicit conversion of Hash into Integer (TypeError)
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/pathutil-0.16.2/lib/pathutil.rb:502:in `read'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:75:in `proc_version'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:40:in `bash_on_windows?'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:77:in `watch'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:43:in `process'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `block in start'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `each'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `start'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/gems/jekyll-3.9.0/exe/jekyll:15:in `<top (required)>'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/bin/jekyll:25:in `load'
    from /home/rockerboo/code/neovim.github.io/dev/.bundle/ruby/3.0.0/bin/jekyll:25:in `<top (required)>'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:63:in `load'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:63:in `kernel_load'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/cli/exec.rb:28:in `run'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/cli.rb:494:in `exec'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/cli.rb:30:in `dispatch'
    from /home/rockerboo/.rvm/gems/ruby-2.7.2/gems/bundler-2.2.16/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'

3.9.2 they removed the pathutil dependency and it starts up properly.