From 39f9d8efd42f9eb42a4918cd80d5f6bb84cd1f87 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Mon, 19 Oct 2015 10:19:23 +0100 Subject: [PATCH] Update sidekiq.rake --- lib/capistrano/tasks/sidekiq.rake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/sidekiq.rake b/lib/capistrano/tasks/sidekiq.rake index 45c1657..0954b04 100644 --- a/lib/capistrano/tasks/sidekiq.rake +++ b/lib/capistrano/tasks/sidekiq.rake @@ -10,9 +10,10 @@ namespace :load do set :sidekiq_processes, -> { 1 } set :sidekiq_options_per_process, -> { nil } set :sidekiq_user, -> { nil } - # Rbenv and RVM integration + # Rbenv, Chruby, and RVM integration set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w(sidekiq sidekiqctl)) set :rvm_map_bins, fetch(:rvm_map_bins).to_a.concat(%w(sidekiq sidekiqctl)) + set :chruby_map_bins, fetch(:chruby_map_bins).to_a.concat(%w{ sidekiq sidekiqctl }) # Bundler integration set :bundle_bins, fetch(:bundle_bins).to_a.concat(%w(sidekiq sidekiqctl)) end