Skip to content

Commit

Permalink
Merge pull request #2717 from rspec/updates
Browse files Browse the repository at this point in the history
Refactor Gemfile to specify current rake default
  • Loading branch information
JonRowe committed Apr 7, 2020
2 parents db99bec + 0680526 commit 50c12ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
end
end

if RUBY_VERSION >= '2.0.0'
gem 'rake', '>= 10.0.0'
elsif RUBY_VERSION >= '1.9.3'
if RUBY_VERSION < '1.9.3'
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
elsif RUBY_VERSION < '2.0.0'
gem 'rake', '< 12.0.0' # rake 12 requires Ruby 2.0.0 or later
else
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
gem 'rake', '> 12.3.2'
end

gem 'yard', '~> 0.9.24', :require => false
Expand Down

0 comments on commit 50c12ab

Please sign in to comment.