diff --git a/config/deploy.rb b/config/deploy.rb index e1242959a..192fd7488 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -33,8 +33,8 @@ set :keep_releases, 3 task :symlink_config_files do run "mkdir -p #{deploy_to}/#{shared_dir}/config" - run "yes n | cp -i #{release_path}/config/database.yml.sample #{deploy_to}/#{shared_dir}/config/database.yml" - run "yes n | cp -i #{release_path}/config/application.yml.sample #{deploy_to}/#{shared_dir}/config/application.yml" + run "yes y | cp -i #{release_path}/config/database.yml.sample #{deploy_to}/#{shared_dir}/config/database.yml" + run "yes y | cp -i #{release_path}/config/application.yml.sample #{deploy_to}/#{shared_dir}/config/application.yml" run "ln -nfs #{deploy_to}/#{shared_dir}/config/database.yml #{release_path}/config/database.yml"