Skip to content

Commit

Permalink
Update Gemfile to correctly install rake
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Jan 25, 2018
1 parent d4830a9 commit 087cb16
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ if RUBY_VERSION >= '2.4.0'
gem 'json', '>= 2.0.2'
end

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

# Version 3 of mime-types 3 requires Ruby 2.0
Expand Down

0 comments on commit 087cb16

Please sign in to comment.