Getting Pygments dependency error when trying to compile Jekyll site

1k Views Asked by At

I'm beginning to set up a Jekyll site and I've installed everything and copied the contents of this theme into the site's directory. I've installed Pygments via the gem install pygments.rb command and it seemed to install fine. But I'm still getting the error from my screenshot below when trying jekyll serve . I found this post and tried the commands in the given answer, installing pygments worked fine, but when I tried gem 'pygments.rb' I got the error in the first line of the screenshot "Unknown command pygments.rb".

I'm running this command in the directory with my gemfile, so I'm not sure what the problem is.

enter image description here

I'm not really sure what else I can try. I've installed pygments but I still get the error that it is not installed. I am using rbenv to manage my Ruby versions, I have the global ruby version set to 2.0.0-p247. Any ideas how I can fix this?

Edit: So I followed the theme's install guide, but I'm getting the same error except for Kramdown:

Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2016-01-08-welcome-to-jekyll.markdown': Missing dependency: kramdown ERROR: YOUR SITE COULD NOT BE BUILT: ------------------------------------ Missing dependency: kramdown

1

There are 1 best solutions below

2
On

If you read theme's install steps, your not supposed to battle with any pygments install.

Here are two working ways for a Jekyll install :