'Bundler could not find compatible versions for gem "jemoji"' 当 bundle exec jekyll 服务时

'Bundler could not find compatible versions for gem "jemoji"' when bundle exec jekyll serve

其实我不太清楚 bundle 和 jekyll 是什么,但我试图按照指南 https://github.com/apache/incubator-rocketmq-site 执行 bundle exec jekyll serve,但失败了。

我找不到 google 类似的东西所以我 post 在这里提问。

$ bundle exec jekyll serve
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/resolver.rb:21                                                                                       8:in `rescue in start': Bundler could not find compatible versions for gem "jemo                                                                                       ji": (Bundler::VersionConflict)
  In Gemfile:
    minimal-mistakes-jekyll x64-mingw32 was resolved to 4.1.0, which depends on
      jemoji (~> 0.7) x64-mingw32

Could not find gem 'jemoji (~> 0.7) x64-mingw32', which is required by gem 'mini                                                                                       mal-mistakes-jekyll x64-mingw32', in any of the sources.
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/r                                                                                       esolver.rb:212:in `start'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/r                                                                                       esolver.rb:191:in `resolve'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/d                                                                                       efinition.rb:235:in `resolve'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/d                                                                                       efinition.rb:159:in `specs'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/d                                                                                       efinition.rb:218:in `specs_for'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/d                                                                                       efinition.rb:207:in `requested_specs'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/r                                                                                       untime.rb:109:in `block in definition_method'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/r                                                                                       untime.rb:21:in `setup'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler.r                                                                                       b:101:in `setup'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.15.3/lib/bundler/s                                                                                       etup.rb:19:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54                                                                                       :in `require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54                                                                                       :in `require'

我该如何解决?

运行 bundle install 首先(链接的 README 中的第 4 步)。这应该安装必要的包。

那你可以运行bundle exec jekyll servebundle exec 表示它将使用那些已安装的软件包。