diff --git a/rspec-core/Gemfile b/rspec-core/Gemfile index 9db8ae481..cc527c1b5 100644 --- a/rspec-core/Gemfile +++ b/rspec-core/Gemfile @@ -36,6 +36,8 @@ end if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java' gem 'json', '< 2.0.0' +else + gem 'json', '> 2.3.0' end if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)