簡體   English   中英

安裝gem“ joyride-rails”時出現依賴性錯誤

[英]Dependency error while installing the gem “joyride-rails”

我的rails版本是3.2.12

我正在嘗試在應用程序中實現gem "joyride-rails", "~> 0.0.14" ,但它與我的其他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)

因此,如果我添加寶石"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)

該怎么辦?

Github問題

該gem當前不能與最新版本的haml一起使用。 (C)

我認為,如果可能的話,您可以降級您的haml版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM