I am trying to create a group access token for Gitlab project. It requires the access to gitlab-rails console to do it. On gitlab tutorial, this is the link to install it: https://docs.gitlab.com/ee/administration/operations/rails_console.html
As I tried both Omnibus installations and installation from source. Here is what it says:
For Omnibus installations
sudo gitlab-rails console
gives error:
sudo: gitlab-rails: command not found
For installations from source
sudo -u git -H bundle exec rails console -e production
gives error:
sudo: unknown user: git
sudo: error initializing audit plugin sudoers_audit
I couldn't find any other tutorial or forum on how to install gitlab-rails
command.