lib/dockerfile-rails/scanner.rb in dockerfile-rails-0.0.1 vs lib/dockerfile-rails/scanner.rb in dockerfile-rails-0.0.2
- old
+ new
@@ -60,16 +60,8 @@
if (IO.read('config/environments/production.rb') =~ /redis/i rescue false)
@redis_cache = true
end
@redis = @redis_cable || @redis_cache || @sidekiq
-
- ### api-only ###
-
- @apionly = Rails.application.config.api_only
-
- ### db:prepare ###
-
- @dbprep = (Rails::VERSION::MAJOR >= 6) ? 'db:prepare' : 'db:migrate'
end
end
end
\ No newline at end of file