From 52f9ab110558fb8c689845a3b370ea01bd644dec Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 13 Sep 2015 14:52:58 +0000 Subject: [PATCH] Use redcarpet 3.3 if using ruby 1.9 and higher (#20735). git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@14567 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c5118f3c7..e4083f33c 100644 --- a/Gemfile +++ b/Gemfile @@ -33,8 +33,7 @@ platforms :mri, :mingw do # Optional Markdown support, not for JRuby group :markdown do - # TODO: upgrade to redcarpet 3.x when ruby1.8 support is dropped - gem "redcarpet", "~> 2.3.0" + gem "redcarpet", (RUBY_VERSION < "1.9" ? "~> 2.3.0" : "~> 3.3.2") end end -- 2.39.5