diff --git a/Gemfile b/Gemfile index 08879c5a1..b004a6e97 100644 --- a/Gemfile +++ b/Gemfile @@ -50,7 +50,7 @@ end # Optional CommonMark support, not for JRuby group :common_mark do gem "html-pipeline", "~> 2.12" - gem "commonmarker", "~> 0.20" + gem "commonmarker", (RUBY_VERSION < '2.6' ? '0.21.0' : '~> 0.22') gem "sanitize", "~> 5.1" end