From 3622e8a1a9be13a24e0ebc8d3db56cd8b90f1c9e Mon Sep 17 00:00:00 2001 From: Uwe Kubosch Date: Tue, 6 Sep 2016 22:28:56 +0200 Subject: Adjust the Gemfile to work with older Rake on older Ruby 1.x --- Gemfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 3904ab32..6b145aa1 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,12 @@ source 'https://rubygems.org' gemspec group :test do - gem 'rake', '>= 0.8.7' + if RUBY_VERSION.to_i < 2 + gem 'rake', '>= 0.8.7', '< 11' + gem 'json', '< 2' + else + gem 'rake' + end gem 'simplecov' gem 'test-unit' end @@ -15,5 +20,5 @@ platforms :rbx do gem 'rubysl' gem 'rubysl-test-unit' gem 'racc' - gem 'rubinius-coverage', '~> 2.0' + gem 'rubinius-coverage', '~> 2.0' end -- cgit v1.2.3