Right, sorry you had to dig to discover that. For others who may come  
later, looking for this answer:

   namespace :foo do
     task :default do
     end

     task :bar do
     end
   end

The "foo" namespace has (in this case) two tasks, "default", and  
"bar". Both may be invoked via "foo:default" and "foo:bar", but  
capistrano has a soft spot in its heart for "default" tasks. If it  
gets a request to execute "foo", it will see that "foo" is a namespace  
and will look for a task named "default". If it finds it, it will  
execute it. Thus, "foo" is really a short-cut for "foo:default".

- Jamis

On May 5, 2008, at 8:43 AM, bryanl wrote:

>
>
>
> On May 5, 10:18 am, bryanl <[EMAIL PROTECTED]> wrote:
>> When calling capistrano like this,
>>
>> config = Capistrano::Configuration.new
>>
>> and then loading my configuration from a string, how do I call
>> "deploy" when I have a "deploy:setup"?  The setup call seems to work
>> fine, but the deploy call just returns instantly.  Any tips before I
>> break out the debugger?
>
> After more digging, I see there is a default task for a namespace.
> >


--~--~---------~--~----~------------~-------~--~----~
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