Подтвердить что ты не робот

Служба Jekyll не работала: похоже, что у вас нет пигментов или установлена ​​одна из его зависимостей

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.

4b9b3361

Ответ 1

У меня была такая же проблема, но я исправил ее установку драгоценностей драгоценностей.

gem install pygments.rb

И добавив его в мой Gemfile.

gem 'pygments.rb'

Ответ 2

Если вы используете команду sudo gem install pygments.rb или gem install pygments.rb, она может не работать

Итак, вы можете попробовать root:

su root
gem install pygments.rb

Это исправление моей проблемы.

Ответ 3

Если вы пользователь Windows, вы можете запустить CLI в качестве администратора. Это поможет.