From 24dce152b271080b0875e4e7a41d0863a6c89370 Mon Sep 17 00:00:00 2001 From: "ever.zet" Date: Sun, 6 Jun 2010 00:51:36 +0300 Subject: [PATCH] fixed shared/config/databases.yml deploy bug --- lib/capifony.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/capifony.rb b/lib/capifony.rb index d9d244c..85a4ec4 100755 --- a/lib/capifony.rb +++ b/lib/capifony.rb @@ -55,7 +55,8 @@ def load_database_config(data, env = 'prod') end end - run "mkdir #{shared_path}/config && touch #{shared_path}/config/databases.yml" + run "mkdir -p #{shared_path}/config" + run "touch #{shared_path}/config/databases.yml" end desc "Customize the finalize_update task to work with symfony."