diff options
author | Jason Plum <jplum@gitlab.com> | 2017-07-10 16:59:44 -0400 |
---|---|---|
committer | Jason Plum <jplum@gitlab.com> | 2017-07-10 16:59:44 -0400 |
commit | d11b9272850612a6348138112e1196c65c7c2436 (patch) | |
tree | ff29d149f2f9dde1e789eb1d6e4351c983891be5 | |
parent | 31ada792621f17ab7f4f7475405ddd1ec9e9673a (diff) | |
download | gitlab-ce-d11b9272850612a6348138112e1196c65c7c2436.tar.gz |
doc:installation add note about disable-gems for gitlab-shell
See https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1707#note_34351820
Adding notation about speeding up `gitlab-shell` by disabling RubyGems
-rw-r--r-- | doc/install/installation.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 992ff162efb..dfa25deb961 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -420,6 +420,12 @@ GitLab Shell is an SSH access and repository management software developed speci **Note:** Make sure your hostname can be resolved on the machine itself by either a proper DNS record or an additional line in /etc/hosts ("127.0.0.1 hostname"). This might be necessary for example if you set up GitLab behind a reverse proxy. If the hostname cannot be resolved, the final installation check will fail with "Check GitLab API access: FAILED. code: 401" and pushing commits will be rejected with "[remote rejected] master -> master (hook declined)". +**Note:** GitLab Shell application startup time can be greatly reduced by disabling RubyGems. This can be done in several manners: + +* Export `RUBYOPT=--disable-gems` environment variable for the processes +* Compile Ruby with `configure --disable-rubygems` to disable RubyGems by default. Not recommened for system-wide Ruby. +* Omnibus GitLab [replaces the *shebang* line of the `gitlab-shell/bin/*` scripts](https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1707) + ### Install gitlab-workhorse GitLab-Workhorse uses [GNU Make](https://www.gnu.org/software/make/). The |