We need Rails in order to use Gitlab.config anyway

This commit is contained in:
Lin Jen-Shin 2018-01-24 16:35:31 +08:00
parent 1f4c40650b
commit 99784d7797
2 changed files with 1 additions and 4 deletions

View file

@ -1,3 +1,3 @@
require_relative "../lib/gitlab/upgrader"
require_relative '../config/environment'
Gitlab::Upgrader.new.execute

View file

@ -1,6 +1,3 @@
require_relative "popen"
require_relative "version_info"
module Gitlab
class Upgrader
def execute