Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.ru b/config.ru
index f07c25f503a..ed77402aead 100644
--- a/config.ru
+++ b/config.ru
@@ -2,7 +2,7 @@
# This file is used by Rack-based servers to start the application.
-require ::File.expand_path('../config/environment', __FILE__)
+require ::File.expand_path('config/environment', __dir__)
warmup do |app|
client = Rack::MockRequest.new(app)