Skip to content

Commit

Permalink
Fix CI on ruby < 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Aug 31, 2019
1 parent b3c7a4a commit 664db8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in itest5ch.gemspec
gemspec

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
# activesupport v6.0.0 requires Ruby v2.5.0+
gem "activesupport", "< 6.0.0", group: :test
end

0 comments on commit 664db8b

Please sign in to comment.