moduleSystemCheckmoduleAppclassDatabaseConfigExistsCheck<SystemCheck::BaseCheckset_name'Database config exists?'defcheck?database_config_file=Rails.root.join('config','database.yml')File.exist?(database_config_file)enddefshow_errortry_fixing_it('Copy config/database.yml.<your db> to config/database.yml','Check that the information in config/database.yml is correct')for_more_information(