【问题标题】:I get error each time i try to enable jekyll server on CMD每次尝试在 CMD 上启用 jekyll 服务器时都会出错
【发布时间】:2015-12-14 10:47:53
【问题描述】:
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

我不是 prgrammer,但每次我启用 jekyll 服务器。这就是 Windows 上 CMD 的功能。

【问题讨论】:

    标签: github jekyll


    【解决方案1】:

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

    所以gem install pygments 可以解决问题。

    【讨论】:

      猜你喜欢
      • 2013-10-06
      • 1970-01-01
      • 2014-07-28
      • 1970-01-01
      • 1970-01-01
      • 2022-12-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多