【问题标题】:Redmine requires bundler 1.5.0 or higherRedmine 需要 bundler 1.5.0 或更高版本
【发布时间】:2017-08-09 08:51:03
【问题描述】:

我正在尝试在 Ubuntu 14.04.5 LTS 机器上设置 RedMine,在安装结束时出现以下错误:

Redmine requires Bundler 1.5.0 or higher (you're using 1.3.5).
Please update with 'gem update bundler'. (SystemExit)

但是,gem update bundler给了我以下信息:

gem update bundler
Updating installed gems
Nothing to update

此外:

$ bundle -v
Bundler version 1.15.3

$ gem list | grep bundler
bundler (1.15.3)

我完全被困住了。 谁能告诉我如何解决它? 我试图删除 Gemfile 中的 Bundler 版本检查。然后我有以下错误:

`x64_mingw` is not a valid platform. The available options are: [:ruby, :ruby_18, :ruby_19, :ruby_20, :mri, :mri_18, :mri_19, :mri_20, :rbx, :jruby, :mswin, :mingw, :mingw_18, :mingw_19, :mingw_20] (Bundler::GemfileError)

我在这里检查了解决方案:http://www.redmine.org/issues/19409 和这里 http://www.redmine.org/issues/19469 - 没有任何帮助... 在此步骤之后:Redmine installation : Error 我有cannot load such file -- bundler/setup (LoadError) 错误。但是捆绑器已安装并且仍然具有版本 1.15.3 请帮忙。我对这些错误感到非常失望。

对不起我的英语。

【问题讨论】:

  • 尝试“gem uninstall bundle”和“sudo gem uninstall bundle”然后“gem install bundle”(如果你已经安装了sudo)
  • 感谢您的回答!试过了。现在有Could not find i18n-0.7.0 in any of the sources (Bundler::GemNotFound) 错误。但是在bundle list 输出中:* i18n (0.7.0)

标签: ruby-on-rails linux apache bundler redmine


【解决方案1】:

试试

bundle clean

移除所有捆绑的宝石

然后

bundle install

安装所需的 gems

编辑:

看到你的新错误后,看看这个答案:

'x64_mingw' is not a valid platform

还有这个 RedMine 董事会帖子:

http://www.redmine.org/boards/2/topics/45759

更新的捆绑器 gem 应该没问题,但还要检查您的 Gemfile 并在运行 bundle install 之前删除对 x64_mingw 的任何引用

【讨论】:

  • 感谢您的回答!试过了。可惜没有帮助... :(
猜你喜欢
  • 1970-01-01
  • 2020-12-11
  • 1970-01-01
  • 1970-01-01
  • 2016-03-28
  • 2017-02-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多