热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

在omnibusGitLab安装中添加omniauth-gem-Addingaomniauth-gemtoaomnibusGitLabinstallation

Iamnotveryexperiencedwithrubyingeneralandtryingtoinstallanewomniauthproviderinthe

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配置并覆盖所有内容。


推荐阅读
author-avatar
请允许我的每一天有你_248
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有