Custom strategies are pretty easy to use. You just require them, and then specify them via the :strategy variable:
require 'my_custom_strategy' set :strategy, MyCustomStrategy.new(self) - Jamis On 1/22/09 10:32 AM, Bo Stendal Sørensen wrote: > Hi Everybody, > > I would like to use capistrano for a non-rails project, in the > directory where my Capfile are, i have an "app" folder, which should > justed be rsynced/copied to the remote server. My problem is that a > standard capistrano doesn't support this - or am i wrong already at > this point? > > I could use a strategy installed in my gems folder, but what i would > really like is to have the strategy right next to my deploy.rb file - > is that possible? > I've tried a lot of stuff now, but it doesn't seem to work, could be > my poor ruby/rails skills though. > > - Bo Stendal Sørensen (bss) > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
