Add APP_ENV

This commit is contained in:
Joel Van Horn 2020-07-09 13:45:44 -04:00 committed by GitHub
parent 855abc968d
commit 6f3259bc42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ module DatabaseCleaner
end
class Production
KEYS = %w(ENV RACK_ENV RAILS_ENV)
KEYS = %w(ENV APP_ENV RACK_ENV RAILS_ENV)
def run
raise Error::ProductionEnv.new(key) if !skip? && given?