Module: Capistrano::Runit::ResqueHelper
- Defined in:
- lib/capistrano/runit/resque_helper.rb
Instance Method Summary collapse
Instance Method Details
#output_redirection ⇒ Object
8 9 10 |
# 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 ⇒ Object
4 5 6 |
# File 'lib/capistrano/runit/resque_helper.rb', line 4 def resque_environment @resque_environment ||= fetch(:rack_env, fetch(:rails_env, 'production')) end |