lib/dockerfile-rails/scanner.rb in dockerfile-rails-1.0.1 vs lib/dockerfile-rails/scanner.rb in dockerfile-rails-1.0.2

- old
+ new

@@ -38,13 +38,11 @@ rescue => error STDERR.puts error.message end end - @sidekiq = @gemfile.include? 'sidekiq' @anycable = @gemfile.include? 'anycable-rails' - @rmagick = @gemfile.include? 'rmagick' @vips = @gemfile.include? 'ruby-vips' @bootstrap = @gemfile.include? 'bootstrap' @puppeteer = @gemfile.include? 'puppeteer' @bootsnap = @gemfile.include? 'bootsnap' @@ -71,9 +69,9 @@ if (IO.read('config/environments/production.rb') =~ /redis/i rescue false) @redis_cache = true end - @redis = @redis_cable || @redis_cache || @sidekiq + @redis = @redis_cable || @redis_cache end end end