Как разрешить конфликты между версиями плагинов в Jekyll? - PullRequest
0 голосов
/ 20 апреля 2019

Я использую тему 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)

Как удалить версию, вызывающую проблему, и решит ли она проблему?

1 Ответ

0 голосов
/ 23 апреля 2019

Наконец-то решили проблему, удалив адресуемый 2.6.0 с помощью следующей команды:

gem uninstall addressable
...