class Rails::Command::EncryptedCommand

def warn_if_encrypted_configuration_is_invalid

def warn_if_encrypted_configuration_is_invalid
  encrypted_configuration.validate!
rescue ActiveSupport::EncryptedConfiguration::InvalidContentError => error
  say "WARNING: #{error.message}", :red
  say ""
  say "Your application will not be able to load '#{content_path}' until the error has been fixed.", :red
end