How to upgrade the rack
gem from v2 to v3 for rails 7?
If you try to use:
gem 'rack', '>= 3'
Bundle will show you the result of the upgrade:
Bundler could not find compatible versions for gem "rack":
In Gemfile:
rack (>= 3)
rails (~> 7.0.4) was resolved to 7.0.4, which depends on
actionpack (= 7.0.4) was resolved to 7.0.4, which depends on
rack (~> 2.0, >= 2.2.0)
For the beginning of 2023 it's not possible to upgrade rack
to v3 for rails
v7.0 because it's not prepared yet. Please follow this PR to get the latest information on the ongoing process:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With