Something in your primary deploy.rb is referencing application before
it is being set. Can you show more of your deploy.rb?

- Jamis

On 7/24/07, martin <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm having some trouble getting multistage deployments working:
>
> [11:43:39] [EMAIL PROTECTED] ../litsite/trunk/config]$ gem list |
> grep cap
> capistrano (2.0.0)
> capistrano-ext (1.2.0)
> [11:43:43] [EMAIL PROTECTED] ../litsite/trunk/config]$ head
> deploy.rb
> set :stages, %w(staging production)
> set :default_stage, "staging"
> require 'capistrano/ext/multistage'
>
> set :runner, "root"
> #set :application, "literate"
> ...snipped...
>
> [11:43:51] [EMAIL PROTECTED] ../litsite/trunk/config]$ cat deploy/
> staging.rb
> set :application, "literacy_staging"
> [11:44:18] [EMAIL PROTECTED] ../litsite/trunk/config]$ cap deploy
> Please specify the name of your application, set :application, 'foo'
> [11:44:27] [EMAIL PROTECTED] ../litsite/trunk/config]$ cap staging
> deploy
> Please specify the name of your application, set :application, 'foo'
> [11:44:41] [EMAIL PROTECTED] ../litsite/trunk/config]$
>
> Any ideas?
>
> thanks,
>
> Martin
>
>
> >
>

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