mirror of https://github.com/rails/rails
Use Gemfile to manage Rack version for dev
This commit is contained in:
parent
f6e36c90aa
commit
896c7faedf
4
Gemfile
4
Gemfile
|
@ -68,6 +68,10 @@ gem "webrick", require: false
|
|||
gem "jbuilder", require: false
|
||||
gem "web-console", require: false
|
||||
|
||||
# Action Pack and railties
|
||||
rack_version = ENV.fetch("RACK", "~> 2.0") # Change to ~> 3 after #46594 is merged.
|
||||
gem "rack", rack_version
|
||||
|
||||
# Active Job
|
||||
group :job do
|
||||
gem "resque", require: false
|
||||
|
|
|
@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency "activesupport", version
|
||||
|
||||
s.add_dependency "rack", "~> 2.0", ">= 2.2.4"
|
||||
s.add_dependency "rack", "< 4", ">= 2.2.4"
|
||||
s.add_dependency "rack-test", ">= 0.6.3"
|
||||
s.add_dependency "rails-html-sanitizer", "~> 1.0", ">= 1.2.0"
|
||||
s.add_dependency "rails-dom-testing", "~> 2.0"
|
||||
|
|
Loading…
Reference in New Issue