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
path: root/bin
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-24 11:35:31 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-01-26 14:42:48 +0300
commit99784d77978e7548f70fa8499c5c9931c507d6f4 (patch)
tree6ebb43937b12ae26a0d871cad1ba138196f7e101 /bin
parent1f4c40650b8d587b4ab6dd749fd0c6b6c92dcb49 (diff)
We need Rails in order to use Gitlab.config anyway
Diffstat (limited to 'bin')
-rwxr-xr-xbin/upgrade.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/upgrade.rb b/bin/upgrade.rb
index a5caecf8526..ed628fa1d42 100755
--- a/bin/upgrade.rb
+++ b/bin/upgrade.rb
@@ -1,3 +1,3 @@
-require_relative "../lib/gitlab/upgrader"
+require_relative '../config/environment'
Gitlab::Upgrader.new.execute