[英]Redmine requires bundler 1.5.0 or higher
I am trying to set up RedMine on Ubuntu 14.04.5 LTS machine and in the end of install have following error: 我正在尝试在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)
However, gem update bundler
gives me following: 但是,
gem update bundler
给了我以下几点:
gem update bundler
Updating installed gems
Nothing to update
Moreover: 此外:
$ bundle -v
Bundler version 1.15.3
$ gem list | grep bundler
bundler (1.15.3)
I am totally stuck. 我完全被困住了。 Could anybody tell me how to fix it?
有人可以告诉我如何解决吗? I've tried to remove Bundler version check in Gemfile.
我试图删除Gemfile中的Bundler版本检查。 Then I have following error:
然后我有以下错误:
`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)
I've checked solutions here: http://www.redmine.org/issues/19409 and here http://www.redmine.org/issues/19469 - nothing helps... After this steps: Redmine installation : Error I have cannot load such file -- bundler/setup (LoadError)
error. 我已经在此处检查了解决方案: http : //www.redmine.org/issues/19409和此处http://www.redmine.org/issues/19469-没有帮助...在此步骤之后: Redmine安装:错误我
cannot load such file -- bundler/setup (LoadError)
错误。 But bundler is installed and still have version 1.15.3 Please help. 但是捆绑器已安装,并且仍具有1.15.3版本,请帮助。 I am totally disappointed with these errors.
我完全对这些错误感到失望。
Sorry for my english. 对不起我的英语不好。
Try 尝试
bundle clean
to remove all bundled gems 删除所有捆绑的宝石
Then 然后
bundle install
to install required gems 安装所需的宝石
Edit: 编辑:
After seeing your new error, look at this answer: 看到新的错误后,请查看以下答案:
'x64_mingw' is not a valid platform 'x64_mingw'不是有效的平台
And this RedMine board post: 和这个RedMine董事会帖子:
http://www.redmine.org/boards/2/topics/45759 http://www.redmine.org/boards/2/topics/45759
An updated bundler gem should be ok, but also check your Gemfile
and remove any reference to x64_mingw
before running bundle install
更新的bundler gem应该没问题,但是在运行
bundle install
之前,还要检查您的Gemfile
并删除对x64_mingw
任何引用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.