Bundle exec rake gitlab🐚install Failure

When I run sudo -u gitlab bundle exec rake gitlab:shell:install REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production

Output:
Warnign This version of GitLab depends on gitlab-shell 3.5.0, but you’re running unknown. Please update gitlab-shell.

fata: Not a git repositroy (or any of the parent directories): .git
fata: Not a git repositroy (or any of the parent directories): .git
fata: Not a git repositroy (or any of the parent directories): .git

Not sure whats up. Any help would be aweseom

I’m not sure why I can’t install gitlab-shell with the rake command above. After a while of not figuring it out I just cloned gitlab-shell 3.5.0 from source, ran ${clonedir}/bin/install and started up my gitlab services as normal. Everything works. This was terribly frustrating.