Dart jekyll 2.1.1未定义的方法'deep#u merge';

Dart jekyll 2.1.1未定义的方法'deep#u merge';,dart,jekyll,Dart,Jekyll,我正在尝试从本地文件夹构建jekyll站点,但遇到问题: make build rm -rf ./build cd ./src/site && jekyll build && cd ../.. && cp -R ./src/appengine/* build/ Configuration file: Apps/jekyll/dartlang.org/src/site/_config.yml Deprecation: The 'py

我正在尝试从本地文件夹构建jekyll站点,但遇到问题:

make build


rm -rf ./build
cd ./src/site && jekyll build && cd ../.. && cp -R ./src/appengine/* build/
Configuration file: Apps/jekyll/dartlang.org/src/site/_config.yml
       Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
            Source: .
       Destination: ../../build/static
      Generating... 
  Liquid Exception: undefined method `deep_merge' for #<Hash:0x007fbe0cdee050> in _includes/header.html, included in _layouts/default.html
jekyll 2.1.1 | Error:  undefined method `deep_merge' for #<Hash:0x007fbe0cdee050>
make: *** [copy] Error 1
ruby-v ruby 2.0.0p451(2014-02-24修订版45167)[universal.x86_64-darwin13] python——版本 Python 2.7.3 束-v 捆绑包版本1.6.3 OsX 10.9.4


也许任何人都可以帮助我。

你可以参考下面的问题


您的ruby代码中的deep\u merge method应更改为Utils.deep\u merge\u哈希。

bundle安装是否成功完成?您好,感谢您的关注。是,捆绑包安装成功
GEM
  remote: http://rubygems.org/
  specs:
    classifier (1.3.4)
      fast-stemmer (>= 1.0.0)
    colorator (0.1)
    commander (4.1.6)
      highline (~> 1.6.11)
    deep_merge (1.0.1)
    directory_watcher (1.4.1)
    fast-stemmer (1.0.2)
    highline (1.6.21)
    jekyll (1.2.1)
      classifier (~> 1.3)
      colorator (~> 0.1)
      commander (~> 4.1.3)
      directory_watcher (~> 1.4.1)
      liquid (~> 2.5.2)
      maruku (~> 0.5)
      pygments.rb (~> 0.5.0)
      redcarpet (~> 2.3.0)
      safe_yaml (~> 0.7.0)
    kramdown (1.0.2)
    liquid (2.5.5)
    maruku (0.7.2)
    posix-spawn (0.3.8)
    pygments.rb (0.5.4)
      posix-spawn (~> 0.3.6)
      yajl-ruby (~> 1.1.0)
    redcarpet (2.3.0)
    safe_yaml (0.7.1)
    yajl-ruby (1.1.0)
    yui-compressor (0.12.0)

PLATFORMS
  ruby

DEPENDENCIES
  deep_merge
  jekyll (= 1.2.1)
  kramdown (= 1.0.2)
  yui-compressor (= 0.12.0)
gem list |grep jekyll jekyll (2.1.1, 1.2.1) jekyll-coffeescript (1.0.0) jekyll-gist (1.1.0) jekyll-paginate (1.0.0) jekyll-sass-converter (1.0.0) jekyll-watch (1.0.0)
bundle install
Using fast-stemmer 1.0.2
Using classifier 1.3.4
Using colorator 0.1
Using highline 1.6.21
Using commander 4.1.6
Using deep_merge 1.0.1
Using directory_watcher 1.4.1
Using liquid 2.5.5
Using maruku 0.7.2
Using posix-spawn 0.3.8
Using yajl-ruby 1.1.0
Using pygments.rb 0.5.4
Using redcarpet 2.3.0
Using safe_yaml 0.7.1
Using jekyll 1.2.1
Using kramdown 1.0.2
Using yui-compressor 0.12.0
Using bundler 1.6.3
Your bundle is complete!
ruby -v ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13] python --version Python 2.7.3 bundle -v Bundler version 1.6.3