Skip to content

Commit

Permalink
Fix CI on ruby 2.0 and 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 21, 2020
1 parent 38a68d9 commit b6a574a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@ gemspec
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
gem "activesupport", "< 5.0.0"
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
# NOTE: rake v13.0.0+ requires Ruby 2.2.0+
gem "rake", "< 13.0.0"
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
# NOTE: minitest v5.12.1+ requires Ruby 2.2.0+
gem "minitest", "< 5.12.1"
end

0 comments on commit b6a574a

Please sign in to comment.