1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

www/redmine4: unbreak with ruby 2.7

redmine4 works with ruby 2.7.2, unbreak by importing upstream patch:
https://www.redmine.org/projects/redmine/repository/revisions/20150

Reported by:	many
This commit is contained in:
Mikael Urankar 2020-12-04 09:21:49 +00:00
parent e398feae50
commit 10eb5fc7bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556959
2 changed files with 5 additions and 6 deletions

View File

@ -14,10 +14,6 @@ COMMENT= Flexible project management web application
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
# It seems that redmine should work with ruby 2.7 but they have not enable it in gemfile
# https://www.redmine.org/issues/31500
BROKEN_RUBY27= yes
RUN_DEPENDS= rubygem-bundler>=1.5.0:sysutils/rubygem-bundler \
rubygem-rails52>=5.2.4.4:www/rubygem-rails52 \
rubygem-rouge312>=3.12.0:textproc/rubygem-rouge312 \

View File

@ -1,7 +1,10 @@
--- Gemfile.orig 2020-04-06 17:00:48 UTC
+++ Gemfile
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
ruby '>= 2.3.0', '< 2.7.0' if Bundler::VERSION >= '1.12.0'
@@ -1,9 +1,9 @@
source 'https://rubygems.org'
-ruby '>= 2.3.0', '< 2.7.0' if Bundler::VERSION >= '1.12.0'
+ruby '>= 2.3.0', '< 2.8.0' if Bundler::VERSION >= '1.12.0'
gem "bundler", ">= 1.5.0"
-gem 'rails', '5.2.4.2'