-f is intended to specify a Capfile, the Capfile loads `deploy.rb` from the gem, which is where deploy:check is defined.
On 30 January 2011 13:47, Hassan Schroeder <hassan.schroe...@gmail.com>wrote: > On Fri, Jan 28, 2011 at 5:36 AM, Rafa García <conta...@rafagarcia.net> > wrote: > > > I cann't reproduce your error, I hope it give you some clues. > > Thanks for the response but perhaps I didn't explain well, as I see no > relationship between your example and the problem. > > To put it another way: > > $ cap deploy:check > # works fine > * executing `deploy:check' > * executing "test -d /webapps/example/releases" > ..... > command finished > You appear to have all necessary dependencies installed > $ cap deploy:check -f config/deploy_alternate.rb # fails > the task `deploy:check' does not exist > $ > > Does that work for anyone? > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@googlegroups.com<capistrano%2bunsubscr...@googlegroups.com>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 post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en