Commit 4e33b6b2 authored by Toon Claes's avatar Toon Claes

test: Use existing method for Gitaly's Gemfile dir

There is a predefined method for the directory where Gitaly's Gemfile
is, so use that instead.
parent 1799519d
......@@ -154,7 +154,7 @@ module GitalySetup
LOGGER.debug "Checking gitaly-ruby bundle...\n"
out = ENV['CI'] ? $stdout : '/dev/null'
abort 'bundle check failed' unless system(env, 'bundle', 'check', out: out, chdir: File.dirname(gemfile))
abort 'bundle check failed' unless system(env, 'bundle', 'check', out: out, chdir: gemfile_dir)
end
def read_socket_path(service)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment