I've tried to set it up so i can deploy to both a staging and production server, but it hasn't worked out yet. Any spproach to go about it? Its basically the same set of tasks, but with a different server location. Something like cap staging:deploy and production:deploy etc.

The deploy.rb is the configuration that drives the cap command. Recipes that aren't included in the configuration won't be available to the cap command. Use this site for more writing information. http://www.essayscouncil.com