summaryrefslogtreecommitdiff
path: root/git-mirror-gitlab-ce
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-16 14:12:59 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-16 14:12:59 -0500
commitfd8b6d5e0763d1c7348f6db9c681c1b2d1308f37 (patch)
treedd906e75ffcd49badafe338c33ea09268d458fc4 /git-mirror-gitlab-ce
parent8a603c978fa0642b02c2fcbb749bf4c3c2793c29 (diff)
Set Ruby search path appropriately
Diffstat (limited to 'git-mirror-gitlab-ce')
-rwxr-xr-xgit-mirror-gitlab-ce1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-mirror-gitlab-ce b/git-mirror-gitlab-ce
index ed45aec..87477ff 100755
--- a/git-mirror-gitlab-ce
+++ b/git-mirror-gitlab-ce
@@ -3,6 +3,7 @@
# TODO: add 'owner' to get/set_meta
+$:.unshift File.dirname(__FILE__)
load 'git-mirror-backend.rb'
load 'libremessages.rb'
require 'net/http'