Jekyll serve nie działa: wygląda na to, że nie masz zainstalowanych pigmentów lub jednej z jego zależności

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

Są to wiadomości, kiedy wpisuję jekyll serve.

Author: Cœur, 2015-10-30

3 answers

Miałem ten sam problem, ale naprawiłem go instalując pigments gem.

gem install pygments.rb

I dodanie go do mojego Gemfile.

gem 'pygments.rb'
 74
Author: Geyslan G. Bem,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-10-30 16:47:32

Jeśli jesteś użytkownikiem systemu windows, możesz uruchomić CLI jako administrator. To by pomogło.

 -1
Author: Dunamis,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-08-27 19:02:54

Jeśli użyjesz polecenia sudo gem install pygments.rb lub gem install pygments.rb, może nie działać

Więc możesz spróbować root:

su root
gem install pygments.rb
To rozwiązuje mój problem.
 -2
Author: Engine,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-03-03 05:18:02