I have some issue when pushing on a gitlab project repo. When I run git push -u origin master to let's say a remote repo /Users/home/repositories/root/other.git, I get this output :
remote: hooks/update:10: undefined method `require_relative' for main:Object (NoMethodError)
remote: error: hook declined to update refs/heads/master
I think it may come from symlinking issue. Because, I have update and post-receive files inside /Users/home/repositories/root/other.git, and when I delete them and symlink to /Users/home/gitlab-shell/hooks/update and /Users/home/gitlab-shell/hooks/post-receive, and when I run again push, I have the same error and update and post-receive files appear again under /Users/home/repositories/root/other.git. Could someone help ?