Jekyll serve didn't work: It looks like you don't have pygments or one of its dependencies installed

自作多情 提交于 2019-12-02 18:47:13

I had the same issue but fixed it installing pygments gem.

gem install pygments.rb

And adding it to my Gemfile.

gem 'pygments.rb'

if you are a windows user, you could run CLI as administrator. This would help.

If you use the command sudo gem install pygments.rb or gem install pygments.rb, it may not works

So you can try root:

su root
gem install pygments.rb

This fix my problem.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!