diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-03 15:55:08 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-03 15:55:08 -0700 |
commit | 0944ebab55c536dce1f0a5decba251e1414e3de0 (patch) | |
tree | 77a6d2d9f63997a8e4ec5eb87993d2f44785a132 /bin/gitlab-shell | |
parent | 0a64624152735766c428d1532e434dd0bf5a9748 (diff) | |
download | gitlab-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-shell')
-rwxr-xr-x | bin/gitlab-shell | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitlab-shell b/bin/gitlab-shell index 6ef572f..ed58a0a 100755 --- a/bin/gitlab-shell +++ b/bin/gitlab-shell @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#!/usr/bin/env ruby --disable-gems unless ENV['SSH_CONNECTION'] puts "Only ssh allowed" |