每次我尝试在CMD上启用jekyll服务器时都会出错

时间:2015-12-14 10:47:53

标签: github jekyll

C:\JekyllBlog>jekyll server --watch
Configuration file: C:/JekyllBlog/_config.yml
       Deprecation: You appear to have pagination turned on, but you haven't inc
luded the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in yo
ur configuration file.
            Source: C:/JekyllBlog
       Destination: C:/JekyllBlog/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
  Dependency Error: Yikes! It looks like you don't have pygments or one of its d
ependencies installed. In order to use Jekyll as currently configured, you'll ne
ed to install this gem. The full error message from Ruby is: 'cannot load such f
ile -- pygments' If you run into trouble, you can find helpful resources at http
://jekyllrb.com/help/!
  Liquid Exception: pygments in C:/JekyllBlog/_posts/2014-11-28-markdown-and-htm
l.md
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    pygments

我不是一个程序员,但每次启用jekyll服务器。这就是Windows上的CMD。

1 个答案:

答案 0 :(得分:0)

  

依赖性错误:哎呀!看起来你没有pygments

所以gem install pygments可以做到这一点。