Open prahal opened 1 year ago
Debian is not the issue. I reminded and verified that bundler requires all gems to be available at resolve time be they development, test, or production. The BUNDLE_WITHOUT is only for the installation step.
As Debian redmine runs bundle with --local
it thus requires all gems to be installed before that step.
Having a 'factory_bot_rails' minimum version that supports Debian packaged version of this gem would be great. Else one will have to package an old version of ruby-factory-bot-rails for current Debian releases.
The Gemfile has in its development section:
Debian stable bullseye is at minimum 5.1.1-2 for ruby-factory-bot-rails? Could the minimum get increased?
The current maximum in Debian unstable is 6.2.0-1 so I set it to
< 7
. But I have no idea what this requirement is about, thus which value is safe.The issue is also on the Debian side as Debian redmine postinst runs
bundle --local --quiet
without "development" and "test" skipped. Thus the Redmine postinst script requires the above development gems on each gem upgrade. I believe this Debian behavior can be fixed. Still the dependency is really old. This might be aleftover.