From 31eabdc0f0d910faaac9cc67610ba57bc0bc38d8 Mon Sep 17 00:00:00 2001 From: atosbucket Date: Fri, 10 Feb 2023 10:56:42 +0000 Subject: [PATCH] Use Rack version < 3 on edge Rails (#431) There is some test failure when running against edge Rails, due to the dependencies installing Rack 3 which is [not yet supported][1]. Pinning our Rack version prevents the failures. Once the linked Rails PR has landed, we can remove this constraint. [1]: https://github.com/rails/rails/pull/46594 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 86fa6d9..e03b573 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,10 @@ gem 'rake' gem 'byebug' gem 'puma' +# For edge Rails, don't use Rack 3 yet. +# Remove this when https://github.com/rails/rails/pull/46594 has merged. +gem 'rack', '< 3' + group :development, :test do gem 'importmap-rails' end