summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-04 06:40:44 -0700
committerStan Hu <stanhu@gmail.com>2017-07-04 06:40:44 -0700
commit9922f14fbeaad21ff52e36d75e6d2fa038940e4c (patch)
tree0a89154fd6940eb658ecad4dc583bf6d77e18cee
parent0944ebab55c536dce1f0a5decba251e1414e3de0 (diff)
downloadgitlab-shell-sh-disable-rubygems.tar.gz
Disable Rubygems in hooks toosh-disable-rubygems
-rwxr-xr-xhooks/post-receive2
-rwxr-xr-xhooks/pre-receive2
-rwxr-xr-xhooks/update2
3 files changed, 3 insertions, 3 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 3504a48..70e9ebc 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby --disable-gems
# This file was placed here by GitLab. It makes sure that your pushed commits
# will be processed properly.
diff --git a/hooks/pre-receive b/hooks/pre-receive
index e8e04d8..eed4620 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby --disable-gems
# This file was placed here by GitLab. It makes sure that your pushed commits
# will be processed properly.
diff --git a/hooks/update b/hooks/update
index 4c2fc08..81414d2 100755
--- a/hooks/update
+++ b/hooks/update
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby --disable-gems
# This file was placed here by GitLab. It makes sure that your pushed commits
# will be processed properly.