From 8633e82b8c12d65ca49e77774b5f82794ff04c57 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Mon, 3 Nov 2014 20:23:37 +0100 Subject: [PATCH] Fix for rake ci:travis:prepare task Satisfy `rake db:create` wanting to create a development database. Signed-off-by: Alex Coles --- lib/tasks/ci.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 72381a901c..8cd10f18c9 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -69,7 +69,7 @@ namespace :ci do }.merge(db_info) File.open("config/database.yml", 'w') do |f| - YAML.dump({"test" => database_yml}, f) + YAML.dump({"test" => database_yml, 'development' => database_yml}, f) end # Create and migrate the database