【问题标题】:Could not find compatible version for activesupport (3.1.12)找不到 activesupport (3.1.12) 的兼容版本
【发布时间】:2014-03-11 08:22:21
【问题描述】:

我的bundle install 出错了。 在我的 Gemfile 中,我使用了

gem 'ar-octopus', :git => "git://github.com/tchandy/octopus.git", :require => "octopus"

但是当我尝试“bundle install”时

它说:

Bundler could not find compatible versions for gem "activesupport":
  In snapshot (Gemfile.lock):
    activesupport (3.1.12)

  In Gemfile:
    ar-octopus (>= 0) ruby depends on
      activesupport (>= 3.2.0) ruby

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

我也做了“bundle update”,还是一样的错误

【问题讨论】:

    标签: ruby-on-rails ruby gem activesupport bundle-install


    【解决方案1】:

    您的 Rails 版本 (3.1.12) 与您尝试安装的 or-octopus gem 版本不兼容(它要求 Rails 版本为 3.2 或更高版本)。

    【讨论】:

    • 所以我需要将 Rails 升级到 3.2 版?
    • @agstwn21 是的,可能。
    猜你喜欢
    • 2013-03-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-05
    • 1970-01-01
    • 1970-01-01
    • 2018-05-17
    相关资源
    最近更新 更多