Capistrano custom strategy without making a gem -
is there way of making custom deploy strategy capistrano, without having bundle gem? i've searched , searched everyone's examples packaged gems.
i want stick in include path , require in capfile.
something should work:
require 'capistrano/recipes/deploy/strategy/remote_cache' class insanestrategy < capistrano::deploy::strategy::remotecache def copy_repository_cache do_something() end end set :strategy, insanestrategy.new(self)
Comments
Post a Comment