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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -