0

我正在使用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)

如何删除导致问题的版本,它会解决问题吗?

4

1 回答 1

0

最后通过使用以下命令卸载可寻址 2.6.0 解决了该问题:

gem uninstall addressable
于 2019-04-23T08:49:34.697 回答