1

bundle update nokogiri我正在尝试gem 'nokogiri', '~> 1.7', '>= 1.7.1'

和 Bundler 给了我一个错误

Bundler could not find compatible versions for gem "nokogiri":
  In Gemfile:
    nokogiri (>= 1.7.1, ~> 1.7)

    anemone was resolved to 0.7.2, which depends on
      nokogiri (>= 1.3.0)

    haml-rails was resolved to 0.9.0, which depends on
      html2haml (>= 1.0.1) was resolved to 2.0.0, which depends on
        nokogiri (~> 1.6.0)

    quickbooks-ruby (~> 0.4.2) was resolved to 0.4.6, which depends on
      nokogiri

haml-rails0.9.0 是最新版本.. 我希望html2haml也能解析为 2.1.0 但它没有...

有人可以告诉我我在这里缺少什么吗?

4

1 回答 1

0

尝试html2haml, '~> 2.1'在您的 gemfile 中要求。似乎要求不够聪明,无法强制它从您在本地安装的缓存版本升级。

于 2017-03-23T22:30:53.570 回答