Files
openfoodnetwork/script/delayed_job
Maikel Linke e57c06c610 Use require_relative introduced in Ruby 1.9.2
The new `require_relative` command is much shorter and easier to read
then the previous:

    -require File.expand_path('../config/application', __FILE__)
    +require_relative 'config/application'
2016-07-20 16:07:35 +10:00

6 lines
125 B
Ruby
Executable File

#!/usr/bin/env ruby
require_relative '../config/environment'
require 'delayed/command'
Delayed::Command.new(ARGV).daemonize