Update error message in bootstrap.rake
This commit is contained in:
parent
0deedf3fea
commit
b057155832
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module BootstrapRakeHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_database_config
|
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])
|
if File.exist?(DB_CONFIG[:dest])
|
||||||
return if FileUtils.identical?(DB_CONFIG[:source], DB_CONFIG[:dest])
|
return if FileUtils.identical?(DB_CONFIG[:source], DB_CONFIG[:dest])
|
||||||
|
|
Loading…
Reference in a new issue