From 5993813f50c41f3c34c01bbfeb6f3bd496f00954 Mon Sep 17 00:00:00 2001 From: Rick Bradley Date: Mon, 11 Jul 2016 12:47:12 -0500 Subject: [PATCH] [QENG-4070] Make json version conditional on RUBY_VERSION --- Gemfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index c38a5e6..4ccc870 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,11 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org' -gem 'json', '~> 1.8' +if RUBY_VERSION =~ /^1\.9\./ + gem 'json', '~> 1.8' +else + gem 'json', '>= 1.8' +end + gem 'rack', '>= 1.6' gem 'rake', '>= 10.4' gem 'rbvmomi', '>= 1.8'