I am not very experienced with ruby in general and trying to install a new omniauth provider in the GitLab Community Edition. I used the omnibus package to install it on Ubuntu 14.04. The goal is to authenticate GitLab against a Jasig CAS
我对ruby不太熟悉,并试图在GitLab社区版中安装新的omniauth提供程序。我使用omnibus包在Ubuntu 14.04上安装它。目标是针对Jasig CAS验证GitLab
According to Custom omniauth provider configurations doc the next step to make this work would be to add the according gem to the gemfile with "gem 'omniauth-cas'".
根据Custom omniauth提供程序配置文档,完成此工作的下一步是使用“gem'omniauth-cas'”将相应的gem添加到gemfile中。
Is this even possible with the installed omnibus package? Or do I have to install it again manually? I don't see any gemfile in the installation directory, which i suppose to be somewhere down /var/opt/gitlab?
安装的omnibus软件包是否可以实现这一点?或者我是否必须手动重新安装?我没有在安装目录中看到任何gemfile,我想这是/ var / opt / gitlab的某个地方?
Thank you, everyone!
谢谢大家!
1 个解决方案
#1
1
You can't do that with the classic installation.
使用经典安装无法做到这一点。
You need to download sources and install Gitlab manually in order to change the Gemfile.
您需要手动下载源代码并安装Gitlab才能更改Gemfile。
Otherwise like Leo said the gitlab-ctl reconfigure
will override your changes.
否则像Leo说gitlab-ctl reconfigure将覆盖你的更改。
This command uses /etc/gitlab/gitlab.rb
configuration and overrides everything.
此命令使用/etc/gitlab/gitlab.rb配置并覆盖所有内容。
#1
1
You can't do that with the classic installation.
使用经典安装无法做到这一点。
You need to download sources and install Gitlab manually in order to change the Gemfile.
您需要手动下载源代码并安装Gitlab才能更改Gemfile。
Otherwise like Leo said the gitlab-ctl reconfigure
will override your changes.
否则像Leo说gitlab-ctl reconfigure将覆盖你的更改。
This command uses /etc/gitlab/gitlab.rb
configuration and overrides everything.
此命令使用/etc/gitlab/gitlab.rb配置并覆盖所有内容。