Add this line to your application's Gemfile:
gem 'chatopsify', require: false
And then execute:
$ bundle install
Or install it yourself as:
$ gem install chatopsify
Require the gem in your Capfile
:
require 'capistrano/chatopsify'
export CHATOPS_URI='your_chatops_uri'
export CHATOPS_API_KEY='your_chatops_api_key'
export CHATOPS_CHANNEL_ID='your_channel_id'
# config/deploy.rb
...
set :chatops_uri, 'your_chatops_uri'
set :chatops_api_key, 'your_chatops_api_key'
set :chatops_channel_id, 'your_channel_id'
...
©rs-phunt