summaryrefslogtreecommitdiff
path: root/bin/gitlab-projects
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-03 15:55:08 -0700
committerStan Hu <stanhu@gmail.com>2017-07-03 15:55:08 -0700
commit0944ebab55c536dce1f0a5decba251e1414e3de0 (patch)
tree77a6d2d9f63997a8e4ec5eb87993d2f44785a132 /bin/gitlab-projects
parent0a64624152735766c428d1532e434dd0bf5a9748 (diff)
downloadgitlab-shell-0944ebab55c536dce1f0a5decba251e1414e3de0.tar.gz
Disable RubyGems to increase performance
By default, RubyGems is enabled, which causes the Ruby interpreter to load 600+ additional files at startup when gitlab-shell is designed not to use any external gems.
Diffstat (limited to 'bin/gitlab-projects')
-rwxr-xr-xbin/gitlab-projects2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitlab-projects b/bin/gitlab-projects
index 22b0022..aa05c25 100755
--- a/bin/gitlab-projects
+++ b/bin/gitlab-projects
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby --disable-gems
require_relative '../lib/gitlab_init'