Sha256: 9f479e7605cb91a32e6d8744652a448a52f96e90adde88718d2cb67f1e8129e7

Contents?: true

Size: 293 Bytes

Versions: 6

Compression:

Stored size: 293 Bytes

Contents

#!/usr/bin/env ruby

# Daemons sets pwd to /, so we have to explicitly set RAILS_ROOT
RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))

require File.join(File.dirname(__FILE__), *%w(.. vendor plugins delayed_job lib delayed command))
Delayed::Command.new(ARGV).daemonize

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
betelgeuse-delayed_job-1.8.0 generators/delayed_job/templates/script
collectiveidea-delayed_job-1.8.0 generators/delayed_job/templates/script
factorylabs-delayed_job-1.8.1 generators/delayed_job/templates/script
factorylabs-delayed_job-1.8.2 generators/delayed_job/templates/script
factorylabs-delayed_job-1.8.3 generators/delayed_job/templates/script
fdl_delayed_job-1.8.4 generators/delayed_job/templates/script