Hi Hunter,

Thanks a lot for your reply! I had figured that the "ends" were required 
for each do (like opening closing brackets for php) but I just couldn't 
match everything up. The reason that has an else is because I copied it 
over from stage WP (see their tasks file attached) I tried putting it as 
"end" instead and added another end to the end of the file but I'm still 
getting syntax errors and yet I feel like I've matched every "do" and "if" 
up now. There is a "do" in the final block of code which is hard to find 
(not sure if it counts) but id tried an extra end for it as well but no 
luck.

I can either get no syntax errors, but deploy fails as it says the final DB 
tasks doesn't exist, or i just get syntax errors trying to run either task 
:/



On Thursday, 13 February 2014 22:05:53 UTC, Daniel Shepherd wrote:
>
> Hi guys, here is my tasks.rb file from a Capistrano 2 deployment.
>
> Ive tracked hacking it myself to include the extra feature at the bottom. 
> Basically I want to have the two functions in db:sync but ive done 
> something which is causing my deployment to say that db:make_config doesn't 
> exist. So I've put "end" somewhere wrong but I'm lost as to how to sort 
> this out, if anyone could have a quick look and fix it would be greatly 
> appreciated.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/acda9fbe-3b16-4db7-982d-373b8d3fb4da%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Attachment: (stage wp example) tasks.rb
Description: Binary data

Reply via email to