From 2b49f5d327836c49477692e802657ee879fba8cc Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 29 Jan 2013 11:56:44 +1300 Subject: [PATCH] Config must be symlinked before assets:precompile is run --- config/deploy.example.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.example.rb b/config/deploy.example.rb index e5a1df0..7f9b5b0 100644 --- a/config/deploy.example.rb +++ b/config/deploy.example.rb @@ -38,7 +38,7 @@ set :scm_verbose, true set(:current_branch) { `git branch`.match(/\* (\S+)\s/m)[1] || raise("Couldn't determine current branch") } set :branch, defer { current_branch } -after 'deploy:update_code', 'errbit:symlink_configs' +before 'deploy:assets:symlink', 'errbit:symlink_configs' # if unicorn is started through something like runit (the tool which restarts the process when it's stopped) # after 'deploy:restart', 'unicorn:stop' -- libgit2 0.21.2