我的导轨版本是3.2.12
.
我正在尝试"joyride-rails", "~> 0.0.14"
在我的应用程序中实现 gem,但它与我的其他一些 gem 发生冲突。已经在我的 Gemfile 中:
gem "haml-rails", ">= 0.4"
gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'active-admin-spec-suite'
当我运行 bundle 命令时,我收到此错误:
Bundler could not find compatible versions for gem "haml":
In Gemfile:
joyride-rails (~> 0.0.14) ruby depends on
haml (~> 3.1) ruby
haml-rails (>= 0.4) ruby depends on
haml (4.0.3)
因此,如果我添加 gem "haml", "~> 4.0.3"
,新的捆绑冲突是:
Bundler could not find compatible versions for gem "bourbon":
In Gemfile:
joyride-rails (~> 0.0.14) ruby depends on
bourbon (~> 2.0) ruby
activeadmin-mongoid (>= 0) ruby depends on
bourbon (3.1.8)
如果我再添加宝石"bourbon", "~> 3.1.8"
,我会得到这个新的冲突:
Bundler could not find compatible versions for gem "bourbon":
In Gemfile:
joyride-rails (~> 0.0.14) ruby depends on
bourbon (~> 2.0) ruby
bourbon (3.1.8)
该怎么办?