Project

General

Profile

Actions

Defect #37706

closed

Failed when migrating db

Added by j ronald over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Env

FreeBSD 13.1 amd64
Redmine 5.0.2

Problem

Install redmine 5 following the offical doc at https://www.redmine.org/projects/redmine/wiki/RedmineInstall
excpet that redmine 4 db is restored before `bundle exec rake db:migrate`

% bundle config set --local without 'development test'
% set RAILS_ENV=production
# restore redmine 4 db, then try to migrate to readmine 5 as below
% bundle exec rake db:migrate
rake aborted!
LoadError: cannot load such file -- listen
% bundle info listen
Could not find gem 'listen', because it's in the gorup 'development', configured to be ignored.
Actions #1

Updated by j ronald over 1 year ago

Tested on Linux, no problem for Linux, so it's FreeBSD specific.

Actions #2

Updated by j ronald over 1 year ago

Solved as below for csh/tcsh

env RAILS_ENV=production bundle exec rake db:migrate

Actions #3

Updated by j ronald over 1 year ago

  • Status changed from New to Resolved
Actions #4

Updated by Marius BÄ‚LTEANU over 1 year ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Thanks for your feedback, closing!

Actions

Also available in: Atom PDF