杰基尔(Jekyll)服务不起作用 [英] Jekyll Serve not working

查看:210
本文介绍了杰基尔(Jekyll)服务不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了该github存储库的zip- https://github.com/mmistakes/minimal-mistakes

I have downloaded zip of this github repo - https://github.com/mmistakes/minimal-mistakes

我已经安装了bundler并且做了bundle install,它运行良好.

I have installed bundler and I did bundle install , it worked perfectly.

现在,当我尝试运行jekyll serve -w

WARN:Gem :: Specification.reset中未解决的规格: jekyll-watch(〜> 1.1)警告:清除未解决的规格.如果这会引起问题,请报告错误.配置文件: /home/kenden/Desktop/minimal-mistakes-master/_config.yml

WARN: Unresolved specs during Gem::Specification.reset: jekyll-watch (~> 1.1) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. Configuration file: /home/kenden/Desktop/minimal-mistakes-master/_config.yml

依赖性 错误:Yi!看来您没有jekyll-paginate或其中之一 其依赖项已安装.为了像现在一样使用Jekyll 配置后,您需要安装此gem.完整的错误信息 来自Ruby的信息是:无法加载此类文件-jekyll-paginate",如果您运行 遇到麻烦时,您可以在以下位置找到有用的资源 http://jekyllrb.com/help/

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 http://jekyllrb.com/help/!

jekyll 3.1.3 |错误:jekyll-paginate

jekyll 3.1.3 | Error: jekyll-paginate

但是,当我执行gem list时,它会向我显示jekyll-paginate (1.1.0)以及已安装的所有其他宝石.

However when I do, gem list, it shows me jekyll-paginate (1.1.0) along with all the other gems that are installed.

如何解决此问题?

推荐答案

我能够使用gem cleanup然后是bundle exec jekyll serve来解决它.

I was able to solve it using gem cleanup followed by bundle exec jekyll serve.

这篇关于杰基尔(Jekyll)服务不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆