代码之家  ›  专栏  ›  技术社区  ›  Felipe

为redmine最新版本升级bundler

  •  0
  • Felipe  · 技术社区  · 6 年前

    我正在尝试升级redmine,为此,我必须升级bundler。奇怪的是,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 回复  |  直到 6 年前
        1
  •  1
  •   Nanego    6 年前

    你试过这个吗?

    gem update bundler
    

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