2016-08-01 57 views
2

我也跟着下面的鏈接,安裝傑基爾錯誤而跑「傑奇服務」命令

https://davidburela.wordpress.com/2015/11/28/easily-install-jekyll-on-windows-with-3-command-prompt-entries-and-chocolatey/

然而,當我運行「傑奇服務」,我得到以下錯誤

jekyll 3.2.0 | Error: different prefix: "/" and "C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1"

我我正在使用操作系統窗口10.pls的幫助。

UPDATE1

我安裝了3.1.6,但我得到了follwoing錯誤

c:\myblog>jekyll build C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in block in materialize': Could not find j ekyll-3.2.0 in any of the sources (Bundler::GemNotFound) from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:inmap!' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in materialize' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/definition.rb:140:inspecs' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in specs_for' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/definition.rb:174:inrequested_specs' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in requested_specs' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:insetup' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.12.5/lib/bundler.rb:95:in setup' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/jekyll-3.1.6/lib/jekyll/plugin_manager.rb:33:inrequire_from_bundler' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/jekyll-3.1.6/bin/jekyll:9:in <top (required)>' from C:/Ruby200-x64/bin/jekyll:23:inload' from C:/Ruby200-x64/bin/jekyll:23:in ` 

UPDATE2:

已更新至3.2.1傑基爾,現在的工作。謝謝大家。

回答

1

Jekyll 3.2.0在Windows上被破壞。運行gem update jekyll升級到支持Windows的3.2.1。

3

相同的問題在這裏。

3.2.0版本目前已針對Windows打破。此處登錄項目的異常https://github.com/jekyll/jekyll/issues/5146,應該在未來版本中修復。

繼續嘗試解決方法。 (?回滾哲基爾版本...)

我回滾現在:

gem uninstall jekyll -v 3.2.0 
gem install jekyll -v 3.1.6 
0

我發現傑奇3.2.1適用於Windows 7的版本,但不會對以後的版本.. ..

+0

我在Windows 10上運行Jekyll 3.2.1時沒有任何問題。 – RobertKenny