Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (5 sloc) 313 Bytes
#!/usr/local/bin/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.push(:log_output)).daemonize
Jump to Line
Something went wrong with that request. Please try again.