2017-07-25 42 views
0

其實我不知道什麼捆綁也不jekyll是,但我試圖執行bundle exec jekyll serve遵循指南https://github.com/apache/incubator-rocketmq-site,但失敗。Bundler無法找到兼容版本的寶石「jemoji」'當捆綁執行jekyll服務

我找不到像這樣的谷歌類似的東西,所以我在這裏發表一個問題。

$ 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

首先單獨運行bundle install(鏈接README中的步驟4)。這應該安裝必要的軟件包。你可以運行bundle exec jekyll servebundle exec表示它將使用這些已安裝的軟件包。

+1

謝謝!我發現我的軟件包安裝失敗!我已經解決了,問題就消失了。 – Jaskey

相關問題