mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-19 19:46:51 +00:00
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'
6 lines
125 B
Ruby
Executable File
6 lines
125 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require_relative '../config/environment'
|
|
require 'delayed/command'
|
|
Delayed::Command.new(ARGV).daemonize
|