From 2fab526428957f587529bfb87e8b2d4456632f65 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Mon, 8 Aug 2016 20:27:59 -0400 Subject: [PATCH] Pin gems to continue supporting older ruby versions --- Gemfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 6134a7f..5b74df8 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,9 @@ if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9' gem 'rake', '~> 10.0' end -if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '2.0' - gem 'json', '~> 1.0' +if RUBY_VERSION < '2.0' + # json 2.x requires ruby 2.0. Lock to 1.8 + gem 'json', '~> 1.8' + # json_pure 2.0.2 requires ruby 2.0. Lock to 2.0.1 + gem 'json_pure', '= 2.0.1' end