Yeah, that doesn't work. But if you work up a patch, I'd consider it.

- Jamis

On Nov 7, 2007, at 3:37 AM, Tobi Reif wrote:


Hi

This doesn't seem to work:

  namespace :deploy do

    after :update_code, :fix_script_perms

    task :fix_script_perms do
      # ...
    end

  end

But this worked:

  after "deploy:update_code", :fix_script_perms

  task :fix_script_perms do
    # ...
  end

This works as well:

  after "deploy:update_code", "deploy:fix_script_perms"

  namespace :deploy do

    task :fix_script_perms do
      # ...
    end

  end

I'd like to leave the fix_script_perms (etc) tasks inside the deploy
namespace, and I'd like to omit the namespace prefix in the
after/before lines. Is there a way to do this? Should/could the
following work?

  namespace :deploy do

    after :update_code, :fix_script_perms

    task :fix_script_perms do
      # ...
    end

  end

Tobi


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to