summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 15:08:40 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 15:08:40 +0000
commitcdd826bc3ad3e6f234f96a861efa129dba5e2502 (patch)
treeb159419c3a731637f35e95fe62f30ad437356996 /config.ru
parente4a0b94a64dc5bd8f48430cd5cdf9aaa10927e75 (diff)
downloadgitlab-ce-cdd826bc3ad3e6f234f96a861efa129dba5e2502.tar.gz
Add latest changes from gitlab-org/gitlab@master
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)