From a701bf1bb99f4d79e560f2f39badd14371844d11 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 15 Aug 2021 06:51:31 +0000 Subject: [PATCH] Don't try to install CommonMarker 0.22 on Ruby 2.6.0-rc (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21178 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 636e844e6..7f20fa1ee 100644 --- a/Gemfile +++ b/Gemfile @@ -50,7 +50,7 @@ end # Optional CommonMark support, not for JRuby group :common_mark do gem "html-pipeline", "~> 2.13.2" - gem "commonmarker", (RUBY_VERSION < '2.6' ? '0.21.0' : '~> 0.22') + gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '~> 0.22') gem "sanitize", "~> 6.0" end -- 2.39.5