[英]Dependency error while installing the gem “joyride-rails”
My rails version is 3.2.12
. 我的rails版本是3.2.12
。
I am trying to implement gem "joyride-rails", "~> 0.0.14"
in my application, but it clashes with some of my other gems. 我正在尝试在应用程序中实现gem "joyride-rails", "~> 0.0.14"
,但它与我的其他gem发生冲突。 Already in my Gemfile: 在我的Gemfile中:
gem "haml-rails", ">= 0.4"
gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'active-admin-spec-suite'
When I run the bundle command, I get this error: 当我运行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)
So, if I add the gem "haml", "~> 4.0.3"
the new bundle clash is: 因此,如果我添加宝石"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)
And if I then add the gem "bourbon", "~> 3.1.8"
I get this new clash: 然后如果我添加宝石"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)
What to do? 该怎么办?
The gem currently can't be used with the latest version of haml. 该gem当前不能与最新版本的haml一起使用。 (c) (C)
I think, u can downgrade your haml version, if possible. 我认为,如果可能的话,您可以降级您的haml版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.