Could not locate Gemfile or .bundle/ directory

红太狼 2022-03-12 17:14 317阅读 0赞

jekyll使用常见两个错误:

jekyll 3.1.6 | Error: uninitialized constant Jekyll

Could not locate Gemfile or .bundle/ directory

尤其是使用debian系统或者ubuntu系统。

错误原因:

之前使用apt-get install 安装了一个较低版本的jekyll。

所以解决办法:

sudo apt-get remove jekyll

执行后再update一下即可:

bundle update

移除后,再参考官网安装步骤安装即可。

https://jekyllrb.com/

2019030615181930.png

发表评论

表情:
评论列表 (有 0 条评论,317人围观)

还没有评论,来说两句吧...

相关阅读