The source project of this merge request has been removed.
Correctly determine the root directory for gitlab-shell
os.Executable
is the preferred way to do this; os.Args[0]
doesn't always work.
The impact is simply that we fall back to the ruby interpreter in all instances, but it's worth fixing!
Credit to @ejiek for spotting this one. Initial MR in !252 (closed)