Thanks...

that's exactly what I needed!

Cheers

JT.

On Jun 12, 3:02 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> You can do:
>
>    require 'capistrano/configuration'
>
>    config = Capistrano::Configuration.new
>    config.load("Capfile-2")  # -f Capfile-2
>    config.logger.level = 1   # -v
>    config.find_and_execute_task("my_method")
>
> - Jamis
>
> On Jun 12, 2008, at 6:00 AM, Johnnie Walker wrote:
>
>
>
> > Hi there,
>
> > I am successfully calling  my capistrano method via: "cap -f
> > "Capfile-2" -v my_method" from the command line.
>
> > Is there a way to call the method directly from Ruby code?
>
> > Thanks in advance
>
> > JT.
--~--~---------~--~----~------------~-------~--~----~
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