Skip to content

Commit 3efdb66

Browse files
committed
bundle rack 2 that is required by rails 5
stay on rack 1 only on ruby 1.x that is not supported by rack 2
1 parent 66c8858 commit 3efdb66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
source 'https://rubygems.org'
22

33
gem 'rails', group: :test
4-
gem 'rack', '~>1.6', group: :test
54
gem "mime-types", "< 3", group: :test
65

76
if RUBY_VERSION > '2'
7+
gem 'rack'
88
gem 'json', '>= 2'
99
else
10+
gem 'rack', '~>1.6'
1011
gem 'json', '~> 1.8.0'
1112
end
1213

0 commit comments

Comments
 (0)