微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Jekyll服务没有工作:看起来你没有pygments或其中一个依赖项安装

Configuration file: /Users/andrechristoga/Documents/type-theme/_config.yml
       Deprecation: You appear to have pagination turned on,but you haven't included the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in your configuration file.
            Source: /Users/andrechristoga/Documents/type-theme
       Destination: /Users/andrechristoga/Documents/type-theme/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Dependency Error: Yikes! It looks like you don't have pygments or one of its dependencies installed. In order to use Jekyll as currently configured,you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- pygments' If you run into trouble,you can find helpful resources at http://jekyllrb.com/help/! 
  Liquid Exception: pygments in /Users/andrechristoga/Documents/type-theme/_posts/2014-11-28-markdown-and-html.md
             ERROR: YOUR SITE Could NOT BE BUILT:
                    ------------------------------------
                    pygments

这些是当我键入jekyll服务的消息,请帮助:(

我有同样的问题,但固定它安装pygments宝石。
gem install pygments.rb

并将它添加到我的Gemfile。

gem 'pygments.rb'

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐