Does Gitlab omnibus package install ruby & git?

2019-08-08 15:07发布

问题:

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.



标签: ruby git gitlab