On Wed, 2008-06-18 at 19:09 +0200, Luis Lavena wrote:
> I did go in a different direction:
> 
> Top of my config/deploy.rb file try loads recipes from
> config/deploy/*.rb, each of these "sub recipes" only created a task
> for production and staging, that define db, app and web roles, also
> rails_env
> 
> So I can do in the command line:
> 
> cap production deploy
> 
> cap staging deploy
> 
> etc.
> 
> Learned that trick from some EY recipes ;-)

Right on, yup, this is capistrano "multistage" and is included in the
capistrano-ext gem:

http://quotedprintable.com/2007/7/23/capistrano-multi-stage-support

Great stuff, very handy.

Yours,

tom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to