症状:
因为这篇文章GitHub Pages now faster and simpler with Jekyll 3.0,打算将jekyll 2升级到jekyll 3。执行
gem update jekyll
后,查看jekyll版本jekyll --version
确已升级至到时最新的3.1.1版本.但是在本地启动运行jekyll serve --watch
却发生以下错误:Dependency Error: Yikes! It looks like you don’t have kramdown 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 – kramdown’ If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
当然了,错误显示的
kramdown
我是确定已经安装了。如果不确定,您可以查看是否已安装:gem list | grep kramdown
. 如果您还没有请安装:gem install kramdown
。
jekyll 2 升级 jekyll 3 Dependency Error
最新推荐文章于 2024-05-09 09:45:53 发布