Created attachment 203797 [details] patch-redmine Without this patch, redmine doesn't start due to dependency mismatch. # cd /usr/ports/www/redmine # puma Puma starting in single mode... * Version 3.12.0 (ruby 2.5.5-p157), codename: Llamas in Pajamas * Min threads: 0, max threads: 16 * Environment: development Bundler could not find compatible versions for gem "bundler": In Gemfile: bundler (>= 1.5.0, < 2.0.0) Current Bundler version: bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running `gem install bundler`? Could not find gem 'bundler (>= 1.5.0, < 2.0.0)' in any of the relevant sources: the local ruby installation ! Unable to load application: SystemExit: exit
Works properly if this patch applied. Also confirmed redmine actually works fine. # cd /usr/local/www/redmine # puma Puma starting in single mode... * Version 3.12.0 (ruby 2.5.5-p157), codename: Llamas in Pajamas * Min threads: 0, max threads: 16 * Environment: development * Listening on tcp://0.0.0.0:9292 Use Ctrl-C to stop
Just for reference, the current rubygem-bundler port is at 1.17.3,1. Where did bundler 2.0.1 come from in this installation?
All PRs you created are looking fine for me. If you think you do not break anything, please continue to commit them all.
(In reply to Kubilay Kocak from comment #2) Bundler 2.0.1 is suggested at bug 235796. Not to break www/redmine after updating sysutils/rubygem-bundler to 2.0.1, I'm fixing this beforehand. MFH is not needed because sysutils/rubygem-bundler in 2019Q2 branch stays on 1.17.3.
bundler in 2019Q2 branch is acrually 1.17.1.
A commit references this bug: Author: meta Date: Sat Apr 20 08:52:12 UTC 2019 New revision: 499430 URL: https://svnweb.freebsd.org/changeset/ports/499430 Log: www/redmine: Remove bundler dependency pin on bundler < 2.0 To adapt upcoming update of sysutils/rubygem-bundler to 2.0.1. PR: 237384 Submitted by: meta (myself) Reviewed by: mfechner Changes: head/www/redmine/Makefile head/www/redmine/files/patch-Gemfile
Committed, thanks for your help!