summaryrefslogtreecommitdiffhomepage
path: root/Gemfile
diff options
context:
space:
mode:
authorUwe Kubosch <[email protected]>2016-09-06 22:28:56 +0200
committerUwe Kubosch <[email protected]>2016-09-06 22:47:12 +0200
commit3622e8a1a9be13a24e0ebc8d3db56cd8b90f1c9e (patch)
treed48d229db883b6a3e29887fa205e1b0214dc53d6 /Gemfile
parent291e310ce636ed5a0b5177c679e1144745343631 (diff)
downloadcaxlsx-3622e8a1a9be13a24e0ebc8d3db56cd8b90f1c9e.tar.gz
caxlsx-3622e8a1a9be13a24e0ebc8d3db56cd8b90f1c9e.zip
Adjust the Gemfile to work with older Rake on older Ruby 1.x
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile9
1 files 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