INNER CODE UNIT · Ruby
expanded_bundle_command
seuros/capistrano-sidekiq · lib/capistrano/sidekiq.rb:32
def expanded_bundle_command
backend.capture(:echo, SSHKit.config.command_map[:bundle]).strip
end
def sidekiq_config
"--config config/#{@config_file}" if @config_file != 'sidekiq.yml'
end
def sidekiq_switch_user(role, &)
su_user = sidekiq_user(role)
if su_user == role.user
yield
else
backend.as(su_user, &)
end
end
def sidekiq_user(role = nil)