Commit 25d793eac5a85c83985a59f1e80be59cb4882457
Exists in
spb-stable
and in
3 other branches
Merge pull request #5900 from dprolife/patch-1
Fix 'uninitialized constant Unicorn' error
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config.ru
| 1 | # This file is used by Rack-based servers to start the application. | 1 | # This file is used by Rack-based servers to start the application. |
| 2 | 2 | ||
| 3 | unless defined?(PhusionPassenger) | 3 | unless defined?(PhusionPassenger) |
| 4 | + require 'unicorn' | ||
| 4 | # Unicorn self-process killer | 5 | # Unicorn self-process killer |
| 5 | require 'unicorn/worker_killer' | 6 | require 'unicorn/worker_killer' |
| 6 | 7 |