在我的Jekyll项目中启动bundle update
后,当我尝试使用Rake构建网站时出现此错误:
Configuration file: ./_config.yml
Liquid Exception: wrong number of arguments (3 for 1..2) in _includes/head.html, included in _layouts/default.html
rake aborted!
Jekyll::Tags::IncludeTagError: wrong number of arguments (3 for 1..2)
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:124:in `rescue in render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:116:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:109:in `block in render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:82:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:128:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:138:in `render!'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:106:in `render_liquid'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:205:in `render_all_layouts'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:239:in `do_layout'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives/archive.rb:104:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:96:in `block in render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:95:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:95:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:40:in `generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:280:in `block in generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:279:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:279:in `generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:50:in `process'
/Users/nhoizey/Dropbox/Personnel/Devs/nh.com/Rakefile:15:in `block (2 levels) in <top (required)>'
ArgumentError: wrong number of arguments (3 for 1..2)
/usr/local/lib/ruby/gems/2.2.0/gems/autoprefixer-rails-6.0.3/lib/autoprefixer-rails.rb:17:in `install'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/environment.rb:71:in `install_autoprefixer!'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/environment.rb:37:in `initialize'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/patches/site_patch.rb:28:in `new'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/patches/site_patch.rb:28:in `assets'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/renderer.rb:38:in `render_asset'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-assets-0.13.0/lib/jekyll/assets_plugin/tag.rb:11:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:109:in `block in render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:82:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:128:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:138:in `render!'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:121:in `block in render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/context.rb:112:in `stack'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:119:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:109:in `block in render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `render_all'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/block.rb:82:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:128:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/liquid-2.6.3/lib/liquid/template.rb:138:in `render!'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:106:in `render_liquid'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:205:in `render_all_layouts'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:239:in `do_layout'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives/archive.rb:104:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:96:in `block in render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:95:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:95:in `render'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-archives-2.0.0/lib/jekyll-archives.rb:40:in `generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:280:in `block in generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:279:in `each'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:279:in `generate'
/usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:50:in `process'
/Users/nhoizey/Dropbox/Personnel/Devs/nh.com/Rakefile:15:in `block (2 levels) in <top (required)>'
Tasks: TOP => site:index => site:generate
(See full trace by running task with --trace)
我的git存储库中的提交是这样的: https://github.com/nhoizey/nicolas-hoizey.com/commit/92cada8de17a56f98a28be45a2a12c7302dc188a
任何更新宝石的想法都会导致这个问题吗?