Jekyll serve didn't work: It looks like you don't have pygments or one of its dependencies installed
14,045
I had the same issue but fixed it installing pygments gem.
gem install pygments.rb
And adding it to my Gemfile.
gem 'pygments.rb'
![Andre Christoga](https://lh6.googleusercontent.com/-H0H14usLsfI/AAAAAAAAAAI/AAAAAAAACc4/UxduG5cHsmc/photo.jpg?sz=256)
Author by
Andre Christoga
Updated on June 02, 2022Comments
-
Andre Christoga about 2 years
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
These are the message when I type
jekyll serve
. -
Andre Christoga over 8 yearsIn my jekyll template I didn't have a
Gemfile
-
ozOli almost 8 yearsit is not recommended to use root for gem see stackoverflow.com/questions/2119064/…