【问题标题】:Bundler - could not find compatible versions for Nokogiri gemBundler - 找不到 Nokogiri gem 的兼容版本
【发布时间】:2013-03-12 16:51:33
【问题描述】:

我在执行bundle install 时收到以下消息:

Bundler could not find compatible versions for gem "nokogiri":
  In Gemfile:
    community_engine (>= 0) ruby depends on
      nokogiri (~> 1.5.0) ruby

    opengraph (>= 0) ruby depends on
      nokogiri (1.4.7)

我尝试了几个建议,但都没有奏效。例如:

gem 'nokogiri', '~> 1.5'

【问题讨论】:

    标签: ruby-on-rails ruby bundler nokogiri


    【解决方案1】:

    你试过了吗:

    gem 'nokogiri', '~> 1.5.0'
    

    【讨论】:

    • 这对我不起作用。事实上,我从其他宝石那里得到了更多的抱怨:)
    • 新的投诉集是否包括这一项?您可能必须解决这些问题才能使事情变得更干净。
    • 是的,新套装包括这个。
    • 我知道我过去遇到过类似的问题。我会试着弄清楚我是如何修复它的。
    • 谢谢。感谢您对此提供的帮助。
    猜你喜欢
    • 2021-02-08
    • 2011-10-31
    • 2017-07-17
    • 2018-02-09
    • 2014-05-26
    • 2014-03-14
    • 2013-03-13
    • 2019-05-07
    • 2016-02-17
    相关资源
    最近更新 更多