Use Gemfile to manage Rack version for dev

This commit is contained in:
zzak 2023-01-25 11:26:34 +09:00
parent f6e36c90aa
commit 896c7faedf
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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"