Skip to content

Commit 0a7b7e7

Browse files
authored
Merge pull request rspec#2279 from rspec/fix_build
Limit JSON version on lower rubies
2 parents 788aa9e + 3672659 commit 0a7b7e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ group :documentation do
2626
gem 'github-markup', '0.7.2', :platform => :mri
2727
end
2828

29-
platforms :ruby_18, :jruby do
30-
gem 'json'
29+
if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
30+
gem 'json', '< 2.0.0'
3131
end
3232

3333
platforms :jruby do

0 commit comments

Comments
 (0)