Skip to content

Instantly share code, notes, and snippets.

@mtthsdzwn
Created January 30, 2023 13:56
Show Gist options
  • Save mtthsdzwn/f3b33237162bc4a6c72d667c399e6166 to your computer and use it in GitHub Desktop.
Save mtthsdzwn/f3b33237162bc4a6c72d667c399e6166 to your computer and use it in GitHub Desktop.
Library Carpentry `make serve` error
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Liquid Exception: undefined method `tainted?' for nil:NilClass in $WORKING_DIR/_extras/about.md
/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/variable.rb:124:in `taint_check': undefined method `tainted?' for nil:NilClass (NoMethodError)
return unless obj.tainted?
^^^^^^^^^
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/variable.rb:89:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/tags/assign.rb:26:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:46:in `block (2 levels) in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `each'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:43:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:82:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:30:in `block (2 levels) in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:42:in `measure_bytes'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:29:in `block in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:49:in `measure_time'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:28:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:140:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:137:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:30:in `block (2 levels) in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:42:in `measure_bytes'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:29:in `block in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:49:in `measure_time'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:28:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:140:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:137:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:30:in `block (2 levels) in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:42:in `measure_bytes'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:29:in `block in render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:49:in `measure_time'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:28:in `render!'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:126:in `render_liquid'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:79:in `render_document'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:62:in `run'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:479:in `render_regenerated'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:464:in `block (2 levels) in render_docs'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:463:in `each'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:463:in `block in render_docs'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:462:in `each_value'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:462:in `render_docs'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:191:in `render'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/site.rb:71:in `process'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/command.rb:28:in `process_site'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:65:in `build'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:36:in `process'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/serve.rb:93:in `block in start'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/serve.rb:93:in `each'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/serve.rb:93:in `start'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.2/exe/jekyll:15:in `<top (required)>'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `load'
from $WORKING_DIR/.vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `<top (required)>'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:491:in `exec'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:28:in `start'
from /opt/homebrew/Cellar/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.4.5/exe/bundle:45:in `block in <top (required)>'
from /opt/homebrew/lib/ruby/site_ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /opt/homebrew/Cellar/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.4.5/exe/bundle:33:in `<top (required)>'
from /opt/homebrew/opt/ruby/bin/bundle:25:in `load'
from /opt/homebrew/opt/ruby/bin/bundle:25:in `<main>'
make: *** [serve] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment