From b057155832460a16af9dd1919e48f0bd44495fa2 Mon Sep 17 00:00:00 2001 From: Ryan Lue Date: Wed, 23 May 2018 18:49:11 +0800 Subject: [PATCH] Update error message in bootstrap.rake --- lib/tasks/bootstrap.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/bootstrap.rake b/lib/tasks/bootstrap.rake index 99771ad14..9605bce75 100644 --- a/lib/tasks/bootstrap.rake +++ b/lib/tasks/bootstrap.rake @@ -21,7 +21,7 @@ module BootstrapRakeHelper end def add_database_config - raise Errno::ENOENT, 'contrib/database.yml not found' unless File.exist?(DB_CONFIG[:source]) + raise Errno::ENOENT, 'config/database.yml not found' unless File.exist?(DB_CONFIG[:source]) if File.exist?(DB_CONFIG[:dest]) return if FileUtils.identical?(DB_CONFIG[:source], DB_CONFIG[:dest])