【发布时间】: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