summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-10 21:10:24 +0000
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-07-11 15:45:44 +0100
commitcde88c639fb5bb4b426e839f5068fcfd8bd6da6f (patch)
tree8625f08bf7c4da12b2dd69b8e24d218f976f1d3d
parent6b09e3e1b733f2ebeba5e3c20de2ced2d4c400f9 (diff)
downloadgitlab-ce-cde88c639fb5bb4b426e839f5068fcfd8bd6da6f.tar.gz
Merge branch 'document-gitlab-shell-disable-gems' into 'master'
doc:installation add note about disable-gems for gitlab-shell See merge request !12765
-rw-r--r--doc/install/installation.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index cecd9b6c80a..5e981b0b3e7 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