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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to