宝石依赖地狱安装redmine与CRM插件

时间:2015-04-14 17:19:41

标签: ruby-on-rails ruby gem bundler redmine

我在全新安装的Ubuntu Server 14.04LTS上安装了一个带有CRM插件的干净Redmine 3.0。我成功使用了redmine和一个小插件,但是CRM让我对此感到满意:

# bundle install --without development test RAILS_ENV=production
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and 
installing your bundle as root will break this application for all non-root 
users on this machine.

Warning: this Gemfile contains multiple primary sources. Using `source` more
than once without a block is a security risk, and may result in installing 
unexpected gems. To resolve this warning, use a block to indicate which gems 
should come from the secondary source. To upgrade this warning to an error, run 
`bundle config disable_multisource true`.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "i18n":
  In Gemfile:
    rails (= 4.2.0) ruby depends on
      actionpack (= 4.2.0) ruby depends on
        activesupport (= 4.2.0) ruby depends on
          i18n (~> 0.7) ruby

    money (~> 5.1.0) ruby depends on
      i18n (~> 0.6.0) ruby

我安装了i18n 0.6.0和0.7.0,没有修复:

# gem list --local | grep i18n
i18n (0.7.0, 0.6.0)

我尝试删除Gemfile.lock并再次使用bundler(bundle update && bundle install),结果相同。

我不知道如何处理这个问题。我对ruby,宝石和捆绑器知之甚少,搜索失败了。求助。

1 个答案:

答案 0 :(得分:1)

您现在无法使用redminecrm.com与Redmine 3的CRM插件。

在撰写本文时,该插件仅与Redmine 2.x兼容。虽然插件可能会被作者更新,但它还不兼容Redmine 3.0。

通常,您不应期望插件能够在主要版本更新中神奇地继续工作。特别是当最近有一个重大更新时,许多插件将无法与新的Redmine版本兼容。如果您需要插件,则可以使用旧版本,例如Redmine 2.6,直到你需要的所有插件都更新。

您始终必须检查插件是否与您打算使用的Redmine版本兼容。