2016-08-01 50 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