Reputation: 21
when i run jekyll --server,it built failed ,and display this :
[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:
...
i use pygments to highlight my code..
help me !!
Upvotes: 2
Views: 1320
Reputation: 3245
This is giving me headache...: since 2011 it seems that "pygments.rb" is reported to work with Python 3 as per this Jekyll installation guide for windows mentioned in the official Jekyll installation docs "http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html" (which just to blow in more confusion today got an expired domain...)
So yea, how do you install Jekyll, which by the way is described as a Ruby static website generator on its github page - when it:
Well you simply don't.
Upvotes: 2
Reputation: 61
Check if your python version is 2.X. Python 3 is unsupported by the pygments.rb gem.
Upvotes: 5