Skip to content

Commit 87b4bf5

Browse files
authored
Merge pull request #249 from DavidS/pin-json-gem
Pin json gem to older version for JRuby 1.7
2 parents 3f82068 + 4196b7b commit 87b4bf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ group :tests do
1515
# load a rubocop version that works on java for the Rakefile
1616
gem 'parser', '2.3.3.1'
1717
gem 'rubocop', '0.41.2'
18+
# JRuby 1.7 does not like json 2.3.0, jruby 9.1.9.0 has RUBY_VERSION == '2.3.3'
19+
gem 'json', '2.2.0' if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('2.3.0')
1820
elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
1921
gem 'rubocop', '0.57.2'
2022
# the last version of parallel to support ruby 2.1

0 commit comments

Comments
 (0)