Add this line to your application's Gemfile:
gem 'chatworkify', require: false
And then execute:
$ bundle install
Or install it yourself as:
$ gem install chatworkify
Require the gem in your Capfile
:
require 'capistrano/chatworkify'
-
Export to your
bash
:export CHATWORK_API_TOKEN=xxx
-
Add to
.env
if you're usingdotenv
gem
# config/deploy.rb
...
set :chatwork_room_id, 'xxx'
...
©rs-phunt