问题
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