jekyll安装过程中可能会遇到的一些错误及解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wyc12306/article/details/51504885

错误1

Dependency Error: Yikes! It looks like you don’t have jekyll-paginate 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 – jekyll-paginate’ If you run into trouble, you can find helpful resources at Getting Help

jekyll 3.1.2 | Error: jekyll-paginate

解决办法:安装jekyll时候直接运行gem install jekyll-paginate即可解决。

错误2

Dependency Error: Yikes! It looks like you don't have redcarpet or one of its
dependencies installed. In order to use Jekyll as currently configured, you'll n
eed to install this gem. The full error message from Ruby is: 'cannot load such
file -- redcarpet' If you run into trouble, you can find helpful resources at ht
tp://jekyllrb.com/help/!
  Conversion error: Jekyll::Converters::Markdown encountered an error while conv
erting '_posts/2014-12-28-first-blog.md':
redcarpet
 ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
redcarpet

解决办法:_config.yml中的markdown改为kramdown

阅读更多
换一批

没有更多推荐了,返回首页