From 209c74e790ab33f4215ae35870569eb5ebe2f22f Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Wed, 25 Sep 2024 11:09:00 -0400 Subject: [PATCH] treat inclusion of sidekiq as an indication of use See: https://community.fly.io/t/preparing-for-rails-8/22022/2 --- lib/generators/dockerfile_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/dockerfile_generator.rb b/lib/generators/dockerfile_generator.rb index 5e0a924..76549ca 100644 --- a/lib/generators/dockerfile_generator.rb +++ b/lib/generators/dockerfile_generator.rb @@ -524,7 +524,7 @@ def includes_jobs? end def using_sidekiq? - @gemfile.include?("sidekiq") and includes_jobs? + @gemfile.include?("sidekiq") end def using_solidq?