升级捆绑包为redmine最新版本

时间:2017-11-22 11:23:56

标签: ruby bundler redmine

我正在尝试升级redmine,为此我必须升级捆绑器。奇怪的是,Web错误显示了安装它的捆绑器的不同版本。

Redmine requires Bundler 1.5.0 or higher (you're using 1.3.5). Please update with 'gem update bundler'. (SystemExit) /var/www/redmine-3.2/Gemfile:4:in `abort' /var/www/redmine-3.2/Gemfile:4:in `eval_gemfile' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler/dsl.rb:30:in `instance_eval' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler/dsl.rb:30:in `eval_gemfile' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler/dsl.rb:9:in `evaluate' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler/definition.rb:19:in `build' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler.rb:148:in `definition' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler.rb:116:in `setup' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `<top (required)>' /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in `require'

但它在服务器上安装的版本是1.16.0: [root@dev conf.d]# bundle -v Bundler version 1.16.0

1 个答案:

答案 0 :(得分:0)

你试过这个吗?

gem update bundler

您还可以使用RVM管理您的版本:https://rvm.io/