如何处理宝石冲突?

时间:2013-12-02 13:38:15

标签: ruby-on-rails ruby ruby-on-rails-3 activeadmin squeel

我正在使用两个宝石,即squeel和activeadmin,运行捆绑包给我提问,即:

Bundler could not find compatible versions for gem "polyamorous":
  In Gemfile:
    activeadmin (>= 0) ruby depends on
      polyamorous (~> 0.5.0) ruby

    squeel (>= 0) ruby depends on
      polyamorous (0.6.4)

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    activeadmin (>= 0) ruby depends on
      activerecord (~> 3.0.0.rc2) ruby

    delayed_job_active_record (>= 0) ruby depends on
      activerecord (3.2.13)

我该如何处理?有什么想法吗?

1 个答案:

答案 0 :(得分:4)

这是由Metasearch引起的:enter image description here

Metasearch不再被维护,因此我们正在努力转移到其继任者Ransack。我们还没有完成,所以还没有正式发布。如果你想继续尝试一下:

gem 'activeadmin', github: 'gregbell/active_admin'