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
This commit is contained in:
Jean-Philippe Lang
2015-09-13 14:52:58 +00:00
parent 5fde4e2246
commit 52f9ab1105

View File

@@ -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