Adding omniauth-gem to install Omniibus GitLab

I am not very experienced with ruby ​​in general and am trying to install a new omniauth provider in GitLab Community Edition. I used the omnibus package to install it on Ubuntu 14.04. The goal is to authenticate GitLab against JASIG CAS

According to the omniauth doc Supplier Custom Configurator, the next step to make this work would be to add the appropriate gem to the gemfile using the "OmniAuth-Saz" gem.

Is this possible with omnibus installed? Or do I need to install it manually? I do not see any gemfile in the installation directory, which I suppose should be somewhere down / var / opt / gitlab?

Thank you all!

+7
gitlab ruby omniauth
source share
1 answer

You cannot do this with a classic installation.

You need to download the sources and install Gitlab manually in order to modify the Gemfile.

Otherwise, as Leo said, gitlab-ctl reconfigure override your changes.

This command uses the configuration /etc/gitlab/gitlab.rb and overrides everything.

0
source share

All Articles