我正在使用Hyde主题,当我运行jekyll serve
时出现以下错误:
Dependency Error: Yikes! It looks like you don't have jekyll-gist 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: 'Unable to activate sawyer-0.8.1, because addressable-2.6.0 conflicts with addressable (>= 2.3.5, < 2.6)' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.8.5 | Error: jekyll-gist
我的_config.yml文件:
# Dependencies
markdown: redcarpet
highlighter: pygments
plugins:
- jekyll-paginate
- jekyll-gist
在检查依赖关系时:
$ gem list
activesupport (5.0.7.2)
addressable (2.6.0, 2.5.2)
ansi (1.5.0)
ast (2.4.0)
autoprefixer-rails (6.7.7.2)
如何删除引起问题的版本,它将解决该问题?
答案 0 :(得分:0)
最后通过使用以下命令卸载可寻址2.6.0解决了该问题:
gem uninstall addressable