简体   繁体   English

Redmine需要捆绑软件1.5.0或更高版本

[英]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.

相关问题 Bundler 1.5.0引发normalize_uri ArgumentError - Bundler 1.5.0 throws normalize_uri ArgumentError Bundler冲突-Heroku需要Bundler 2,但应用程序需要Bundler v &lt;2 - Bundler conflict - Heroku requires Bundler 2 but app requires Bundler v< 2 Bundler与Rubygems 2.0不兼容。 请升级到Bundler 1.3或更高版本 - Bundler is not compatible with Rubygems 2.0. Please upgrade to Bundler 1.3 or higher 没有要加载的此类文件-Redmine 2.2.2和ubuntu 10.04的捆绑程序/设置 - no such file to load — bundler/setup with redmine 2.2.2 and ubuntu 10.04 在独立乘客启动redmine时出现“没有此类文件要加载—捆绑程序”错误 - “no such file to load — bundler” error when booting redmine with passenger standalone Redmine+Bundler - method_missing “has_key?” - Redmine+Bundler - method_missing “has_key?” 如何修复“Bundler 2 需要 RubyGems 2.5 或更高版本” - How to fix "Bundler 2 requires RubyGems 2.5 or later" Redmine插件 - 每次代码更改后都需要重启 - Redmine Plugin - requires restart after every code change Redmine - 安装 mysql2 (0.3.16) 时出错,Bundler 无法继续 - Redmine - An error occurred while installing mysql2 (0.3.16), and Bundler cannot continue 当您的 Gemfile 需要旧版本的捆绑器时,如何“捆绑安装”? - How to `bundle install` when your Gemfile requires an older version of bundler?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM