运行错误" jekyll服务"命令

时间:2016-08-01 04:23:27

标签: jekyll

我按照以下链接安装了jekyll

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

然而,当我跑步" jekyll服务" ,我收到以下错误

  

jekyll 3.2.0 |错误:不同的前缀:" /"和   " C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1"

我正在使用os windows 10.pls帮助。

UPDATE1

我安装了3.1.6,但是我收到了以下错误

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:

已更新至jekyll 3.2.1,现已正常工作。谢谢大家。

3 个答案:

答案 0 :(得分: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

答案 1 :(得分:1)

Jekyll 3.2.0在Windows上被破坏了。运行gem update jekyll以升级到支持Windows的3.2.1。

答案 2 :(得分:0)

我发现jekyll 3.2.1适用于Windows 7的版本,但不适用于更高版本....