]> source.dussan.org Git - redmine.git/commitdiff
Don't try to install CommonMarker 0.22 on Ruby 2.6.0-rc (#32424).
authorGo MAEDA <maeda@farend.jp>
Sun, 15 Aug 2021 06:51:31 +0000 (06:51 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 15 Aug 2021 06:51:31 +0000 (06:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21178 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 636e844e6ae108abcb18d57877fad2fc70364764..7f20fa1ee9edfc9642b55b7ffd9b279fe3a87a91 100644 (file)
--- 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