Skip to content

Commit 806b58e

Browse files
committed
supress rubocop on 2.4.0
1 parent e258f3b commit 806b58e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ if RUBY_VERSION <= '1.8.7'
5656
gem 'rubyzip', '< 1.0'
5757
end
5858

59-
gem 'rubocop', "~> 0.23.0", :platform => [:ruby_19, :ruby_20, :ruby_21]
59+
unless RUBY_VERSION >= '2.4.0'
60+
# our current rubocop version doesnt support the json version
61+
gem 'rubocop', "~> 0.23.0", :platform => [:ruby_19, :ruby_20, :ruby_21]
62+
end
6063

6164
custom_gemfile = File.expand_path("../Gemfile-custom", __FILE__)
6265
eval_gemfile custom_gemfile if File.exist?(custom_gemfile)

0 commit comments

Comments
 (0)