实际上我并不完全知道什么是捆绑或jekyll,但我正在尝试执行bundle exec jekyll serve
按照指南https://github.com/apache/incubator-rocketmq-site,但失败了。
我无法找到类似这样的谷歌,所以我在这里发帖提问。
$ 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'
我该如何解决?
答案 0 :(得分:1)
首先单独运行bundle install
(链接自述文件中的步骤4)。这应该安装必要的包。
然后你可以运行bundle exec jekyll serve
。 bundle exec
表示它将使用这些已安装的软件包。