capistrano-misc
capistrano-misc provides some useful tasks for Capistrano 2.
Installation
Add the library to your Gemfile
group :development do
gem 'capistrano-misc', :require => false
end
And load it into your deployment script config/deploy.rb
require 'capistrano-misc'
Tasks
Execute tasks
cap misc:tailf
Add task hooks
after 'multistage:ensure', 'misc:guard'
set :guard_env, [:production, :beta] # default :production
before 'deploy:update_code', 'misc:branch'
set :branch, /upstream.*\/master$/ # default all
Contributing
See the contributing guide.
Copyright
Copyright (c) 2014-2014 Daisuke Taniwaki. See LICENSE for details.