From 4062a84cb2c9a961201238adce4a5851e377f713 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 19 Apr 2013 19:31:09 +0200 Subject: Fix deploy scripts. Require the scripts in config/deploy directory so they will hook into the deploy process. Fixed deploy:refinery:setup recipe, now produces a valid config and puts it in the right spot. --- config/deploy.rb.example | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config/deploy.rb.example') diff --git a/config/deploy.rb.example b/config/deploy.rb.example index 7e10cdb..8d1303d 100644 --- a/config/deploy.rb.example +++ b/config/deploy.rb.example @@ -1,5 +1,7 @@ require 'bundler/capistrano' -require File.join(File.dirname(__FILE__), 'deploy', 'database') +Dir.glob(File.join(File.dirname(__FILE__), 'deploy', '*.rb')) do |f| + require f +end set :application, "set your application name here" set :repository, "set your repository location here" @@ -7,7 +9,8 @@ set :repository, "set your repository location here" set :scm, :git set :branch, 'master' unless exists?(:branch) -set :deply_to, "path on server" +set :deploy_to, "path on server" +set :user, "username on server" # On FreeBSD uncomment the following lines #set :use_sudo, false -- cgit v1.2.3