No commit activity in last 3 years
No release in over 3 years
This gem provides `invoke` task to Capistrano 3.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

 Project Readme

Capistrano::Invoke

This gem adds the good old invoke task to Capistrano.

Installation

Add this line to your application's Gemfile:

gem 'capistrano-invoke', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-invoke

Remember to add this line to your Capfile:

require 'capistrano/invoke'

Usage

After adding this gem, cap invoke will run the command given via the environment variable COMMAND on all servers (OR ones specified by HOSTS or ROLES)

Restrictions/TODOs

  • As this gem passes given COMMAND directly to execute, command mappings and some neat features of SSHKit (like within) are not supported.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sakuro/capistrano-invoke.

License

The gem is available as open source under the terms of the MIT License.