module Capistrano::Runit::ResqueHelper
Public Instance Methods
output_redirection()
click to toggle source
# File lib/capistrano/runit/resque_helper.rb, line 8 def output_redirection ">> #{fetch(:runit_resque_log_file)} 2>> #{fetch(:runit_resque_log_file)}" end
resque_environment()
click to toggle source
# File lib/capistrano/runit/resque_helper.rb, line 4 def resque_environment @resque_environment ||= fetch(:rack_env, fetch(:rails_env, 'production')) end