Jekyll 服务不起作用:看起来您没有安装 pygments 或其依赖项之一

2024-04-03

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 serve.


我有同样的问题,但安装 pygments gem 修复了它。

gem install pygments.rb

并将其添加到我的 Gemfile 中。

gem 'pygments.rb'
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Jekyll 服务不起作用:看起来您没有安装 pygments 或其依赖项之一 的相关文章

随机推荐