安装宝石“joyride-rails”时的依赖性错误 [英] Dependency error while installing the gem "joyride-rails"

查看:93
本文介绍了安装宝石“joyride-rails”时的依赖性错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的rails版本是 3.2.12



我试图实现gem joyride-rails,〜> 0.0.14在我的应用程序中,但它与我的其他一些宝石冲突。已经在我的Gemfile中:

  gemhaml-rails,> = 0.4
gem'activeadmin- mongoid',github:'elia / activeadmin-mongoid',分支:'active-admin-spec-suite'



  Bundler无法找到适用于gemhaml的兼容版本, :
在Gemfile中:
joyride-rails(〜> 0.0.14)ruby依赖于
haml(〜> 3.1)ruby

haml-rails > = 0.4)ruby取决于
haml(4.0.3)

我添加了gem haml,〜> 4.0.3新绑定冲突是:



<$ p $ b $ Bundler找不到兼容版本的宝石bourbon:
在Gemfile中:
joyride-rails(〜> 0.0.14)ruby依赖于
bourbon(〜> 2.0)ruby

activeadmin-mongoid(> = 0)ruby取决于
波本(3.1.8)
/ pre>

如果我再添加宝石波本威士忌,〜> 3.1.8我得到这个新的冲突:

  Bundler无法找到兼容版本的宝石 bourbon:
在Gemfile中:
joyride-rails(〜> 0.0.14)ruby取决于
波旁(〜> 2.0)ruby

bourbon 3.1.8)

怎么办?

解决方案

Github问题



这个宝石目前不能用于最新版本的haml。(c)

我想,你可以如果可能的话,降级你的haml版本。


My rails version is 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. Already in my 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:

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:

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:

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?

解决方案

Github Issue

The gem currently can't be used with the latest version of haml. (c)

I think, u can downgrade your haml version, if possible.

这篇关于安装宝石“joyride-rails”时的依赖性错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆