Project

General

Profile

Failed to migrate 4.0.0 to 4.2 from Debian10 to Ubuntu20.04

Added by Hugo Hugo almost 3 years ago

Redmine 4.2 support Ruby 2.7.2, but what Ubuntu20.04 has is Ruby 2.7.0. So I installed 2.7.2 in ~/.renv following this guide(https://www.techiediaries.com/install-ruby-2-7-rails-6-ubuntu-20-04/).
When I tried to run 'bundle install --without development test' in directory '/opt/redmine4.2.0), Bundler cannot continue. The error shows:
hugo@ubuntutest:/opt/redmine-4.2.0$ bundle install --without development test

[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'development test'`, and stop using this flag

[!] There was an error parsing `Gemfile`: No such file or directory @ rb_sysopen - /home/hugo/Gemfile. Bundler cannot continue.

Need your help.
Regards.
Hugo