You left out the namespace... should be: before "deploy:update_code", :upload_database_yml after "deploy:update_code", :create_symlinks
As far as suggestions go, Cap2 namespaces are a godsend so I tend to use them fairly liberally (i.e. I won't put something in the global namepace unless it truly fits there). Also, here is the code I use for my database.yml setup: http://pastie.caboo.se/81190 Hope this helps! - Brian On Jul 22, 10:07 am, Trevor Turk <[EMAIL PROTECTED]> wrote: > I'm trying to move over to Cap2, and I'm having a little trouble > figuring out the way the before and after hooks work. > > Also, I'm wondering if anyone has suggestions on better ways to > accomplish the tasks in my deployment recipe...? > > http://pastie.caboo.se/81180 > > Thanks in advance for any help, and thanks to Jamis for Capistrano! --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
