Skip to content

Commit 087cb16

Browse files
committed
Update Gemfile to correctly install rake
1 parent d4830a9 commit 087cb16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ if RUBY_VERSION >= '2.4.0'
2828
gem 'json', '>= 2.0.2'
2929
end
3030

31-
if RUBY_VERSION >= '1.9.3'
31+
if RUBY_VERSION >= '2.0.0'
3232
gem 'rake', '>= 10.0.0'
33+
elsif RUBY_VERSION >= '1.9.3'
34+
gem 'rake', '< 12.0.0' # rake 12 requires Ruby 2.0.0 or later
3335
else
34-
gem 'rake', '~> 10.0' # rake 11 requires Ruby 1.9.3 or later
36+
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
3537
end
3638

3739
# Version 3 of mime-types 3 requires Ruby 2.0

0 commit comments

Comments
 (0)