summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-06-11 07:58:34 +0000
committerGo MAEDA <maeda@farend.jp>2023-06-11 07:58:34 +0000
commit497762a0eeee33ec15032318d7faa6de3a7f256a (patch)
tree6f03146ebef9b3a4153d7f9b3acb36d93ea0f19f
parentf1211b2a12535724dd92e68144df7a094bd7626c (diff)
downloadredmine-497762a0eeee33ec15032318d7faa6de3a7f256a.tar.gz
redmine-497762a0eeee33ec15032318d7faa6de3a7f256a.zip
Redmine 4.2 on Ruby 2.4 is not compatible with Loofah 2.21 or higher (#38617).
Patch by Anton Nekrasov. git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22255 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index cad8604e4..b9bc46ac4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -26,6 +26,7 @@ gem 'rbpdf', '~> 1.21.0'
gem 'addressable'
gem 'rubyzip', '~> 2.3.0'
gem 'psych', '~> 3.1' if Gem.ruby_version < Gem::Version.new('2.6.0')
+gem 'loofah', '<= 2.20.0' if Gem.ruby_version < Gem::Version.new('2.5.0')
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]