运行jekyll --server在win7中失败 [英] run jekyll --server failed in win7
问题描述
当我运行jekyll --server时,它构建失败,并显示以下内容:
when i run jekyll --server,it built failed ,and display this :
[2013-01-10 15:34:52]再生:已更改1个文件
液体异常:无法获取标头.在2013-01-05-vim.markdown
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:357: 在rescue in get_header' C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:338:
get_header'中 C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:235:
in
在block in mentos'
超时'
C:/Ruby193/lib/ruby/1.9.1/timeout.rb:68:in
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:209:
...
[2013-01-10 15:34:52] regeneration: 1 files changed
Liquid Exception: Failed to get header. in 2013-01-05-vim.markdown
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:357: inrescue in get_header' C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:338:
get_header' C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:235:
in
inblock in mentos'
timeout'
C:/Ruby193/lib/ruby/1.9.1/timeout.rb:68:in
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.7/lib/pygments/popen.rb:209:
...
我使用pygments突出显示我的代码.
i use pygments to highlight my code..
救救我!
推荐答案
检查您的python版本是否为2.X. pygments.rb gem不支持Python 3.
Check if your python version is 2.X. Python 3 is unsupported by the pygments.rb gem.
这篇关于运行jekyll --server在win7中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!