Don't abort when database.yml is not present.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11202 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
db26041f83
commit
0450547b66
4
Gemfile
4
Gemfile
|
@ -61,10 +61,10 @@ if File.exist?(database_file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
abort("No adapter found in config/database.yml, please configure it first")
|
warn("No adapter found in config/database.yml, please configure it first")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
abort("Please configure your config/database.yml first")
|
warn("Please configure your config/database.yml first")
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
|
|
Loading…
Reference in New Issue