Defect #37706

Failed when migrating db

Added by j ronald 2 months ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Gems support
Target version:-
Resolution:Invalid Affected version:5.0.2



FreeBSD 13.1 amd64
Redmine 5.0.2


Install redmine 5 following the offical doc at
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.


#1 Updated by j ronald 2 months ago

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

#2 Updated by j ronald 2 months ago

Solved as below for csh/tcsh

env RAILS_ENV=production bundle exec rake db:migrate

#3 Updated by j ronald 2 months ago

  • Status changed from New to Resolved

#4 Updated by Marius BALTEANU about 1 month ago

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

Thanks for your feedback, closing!

Also available in: Atom PDF