Skip to content

Commit 36734fe

Browse files
committed
Merge pull request #2260 from rspec/fix-rack-warning
Get rid of rack warning
1 parent 517b184 commit 36734fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gemfile-rails-dependencies

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
version_file = File.expand_path("../.rails-version", __FILE__)
2+
3+
# FIXME: rack 2.1.0 introduces a deprecation warning that rails is triggering,
4+
# but in later versions this warning will be removed. Get rid of this hack once
5+
# rack 2.1.0+ is out.
6+
gem 'rack', '!= 2.1.0'
7+
28
case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp) || ''
39
when /master/
410
gem "rails", :git => "https://github.com/rails/rails.git"

0 commit comments

Comments
 (0)