Does Gitlab omnibus package install ruby & git?

自古美人都是妖i 提交于 2020-02-25 09:15:26

问题


I'm trying to install Gitlab with omnibus package for Debian 7. Gitlab is running but it's very slow. Tail logs showed me, that unicorn process timeouts because get requests for assets timing out.

I read somewhere that I have to perform bundle exec rake assets:precompile RAILS_ENV=production but bundle command not found. Also, git command not found. Does omnibus package install ruby and git or I should do it manually? I couldn't find ruby or git in usr/bin or somewhere else.


回答1:


The syntax bundle exec rake some_task is available for the normal GitLab installation, where you install all components manually.

With GitLab omnibus you can use gitlab-rake some_task. It will automatically use the GitLab's internal ruby installation, internal bundle etc.



来源:https://stackoverflow.com/questions/27795212/does-gitlab-omnibus-package-install-ruby-git

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!