Skip to content

Commit 5f55e89

Browse files
committed
Limit Redcarpet version in CI on Ruby 2.0
1 parent 4d8906b commit 5f55e89

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.ci.gemfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,15 @@ end
8383
platform :ruby do
8484
gem 'RedCloth'
8585
gem 'commonmarker'
86+
gem 'yajl-ruby'
8687

8788
gem 'rdiscount', '>= 2.1.6'
88-
gem 'redcarpet'
89-
gem 'yajl-ruby'
89+
90+
if RUBY_VERSION < '2.1'
91+
gem 'redcarpet', '< 3.6.1'
92+
else
93+
gem 'redcarpet'
94+
end
9095

9196
if RUBY_VERSION < '2.3'
9297
# CommonMarker versions that support Ruby <2.3 have

0 commit comments

Comments
 (0)