Hi Jamis,

I keep getting this error:

undefined method `production' for #<Capistrano::Configuration:
0x3621bac>

The cap file I'm loading is doing a require on the multistage and
monitor files.

Matt

On Aug 17, 1:22 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> require 'capistrano/configuration'
>
> config = Capistrano::Configuration.new
> config.load "my/custom/tasks" # this file requires multistage
> config.production # set the production multistage environment
> config.deploy # run a task
>
> - Jamis
>
> On 8/17/07, goodieboy <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I want to build a Rails app that uses Capistrano to execute tasks. I
> > can't figure out how to call Capistrano tasks in a controller, using
> > multistage? How is this done?
>
> > Thanks,
> > Matt


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