It all looks good to me. When you (e.g.) "cap staging deploy", what is the output?
- Jamis On Fri, Apr 17, 2009 at 12:20 AM, Ivar Vasara <[email protected]> wrote: > > Thanks for the blazingly quick reply ! > > I do have the appropriate "require 'capistrano/ext/multistage'" in my > deploy.rb. > I've posted what I think is the relevant data (relevant chunks of > deploy.rb, and the stage files) at http://pastie.org/449514 > This is on os X, I've checked file permissions, everything *should* be > in order. > > > On Apr 16, 10:33 pm, Jamis Buck <[email protected]> wrote: >> On 4/16/09 11:26 PM, Ivar Vasara wrote: >> >> > As I tried to communicate in my earlier post (on Thu, 16 Apr 2009), it >> > doesn't seem as if the stage files are actually being loaded. I'm not >> > sure how to get capistrano to recognize the files generated by cap >> > multistage:prepare. >> >> Are you requiring the multistage code in deploy.rb? You need to make >> sure and have a line something like this: >> >> require 'capistrano/ext/multistage' >> >> But that really ought to be all it takes for it work. >> >> > Is there a problem with the approach of 1. defining all tasks in >> > deploy.rb then 2. customizing deployments for specific environments >> > using hooks in the appropriate stage file ? >> >> That should work just fine. At this point, I think the best thing you >> could do is post your recipe files somewhere for us to review. >> >> - Jamis > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
