http://blog.jayfields.com/2008/02/rake-task-overwriting.html


Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667


On 11 November 2013 16:50, <[email protected]> wrote:

> Hello,
>
> I'm attempting to override the git:wrapper task but can't seem to...
>
> In my deploy.rb file I've added:
>
> namespace :git do
>   task :wrapper do
>     puts "hello"
>   end
> end
>
> When I run "bundle exec cap staging git:check" I see the expected output
> of "hello" but then the existing git:wrapper task executes as well,
> uploading a temporary file to the server. How can I prevent the built in
> git:wrapper from running?
>
> Thank you,
>
> David
>
>  --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to