There is a predefined method for the directory where Gitaly's Gemfile is, so use that instead.
Attach a file by drag & drop or click to upload