From cb7e56d7168ddeb812542f24da8aa3bdd06f0f80 Mon Sep 17 00:00:00 2001 From: Jake Yip Date: Mon, 9 Apr 2018 15:39:30 +1000 Subject: [PATCH] Fix tests: Pin rake for ruby 1.9.3 Rake >12.2.1 throws the following error: rake-12.3.1 requires ruby version >= 2.0.0, which is incompatible with the current version, ruby 1.9.3p551 --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index c417fd3d..0d7cc3a6 100644 --- a/Gemfile +++ b/Gemfile @@ -24,6 +24,7 @@ gem 'simplecov', :require => false gem 'rspec', '~> 2.0', :require => false if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' gem 'rake', '~> 10.0', :require => false if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' +gem 'rake', '<= 12.2.1', :require => false if RUBY_VERSION >= '1.9' && RUBY_VERSION < '2.0.0' gem 'json', '<= 1.8', :require => false if RUBY_VERSION < '2.0.0' gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0' gem 'metadata-json-lint', '0.0.11' if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'