summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-05 08:13:10 -0700
committerStan Hu <stanhu@gmail.com>2017-07-05 08:13:10 -0700
commit0b502be3314c0fb620e39d2f8f69f49d41d81cb2 (patch)
treeb9b46344aa108150dde2c366e69ee18fad638444 /bin
parent4f207de6e989883795d4d428863a0237b99e37b9 (diff)
downloadgitlab-shell-0b502be3314c0fb620e39d2f8f69f49d41d81cb2.tar.gz
Revert "Merge branch 'sh-disable-rubygems' into 'master'"
This reverts commit a18c90128e4d3eeae1233b1bc3c3998afd223c0d, reversing changes made to 0a64624152735766c428d1532e434dd0bf5a9748.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/authorized_keys2
-rwxr-xr-xbin/check2
-rwxr-xr-xbin/create-hooks2
-rwxr-xr-xbin/gitlab-keys2
-rwxr-xr-xbin/gitlab-projects2
-rwxr-xr-xbin/gitlab-shell2
-rwxr-xr-xbin/install2
7 files changed, 7 insertions, 7 deletions
diff --git a/bin/authorized_keys b/bin/authorized_keys
index 0f596bb..ca01646 100755
--- a/bin/authorized_keys
+++ b/bin/authorized_keys
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
#
# GitLab shell authorized_keys. Query GitLab API to get the authorized command for a given ssh key fingerprint
diff --git a/bin/check b/bin/check
index 8309c06..9585416 100755
--- a/bin/check
+++ b/bin/check
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
require_relative '../lib/gitlab_init'
require_relative '../lib/gitlab_net'
diff --git a/bin/create-hooks b/bin/create-hooks
index 4c48ecc..d4111dc 100755
--- a/bin/create-hooks
+++ b/bin/create-hooks
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
# Recreate GitLab hooks in the Git repositories managed by GitLab.
#
diff --git a/bin/gitlab-keys b/bin/gitlab-keys
index 7340e52..9eb1950 100755
--- a/bin/gitlab-keys
+++ b/bin/gitlab-keys
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
require_relative '../lib/gitlab_init'
diff --git a/bin/gitlab-projects b/bin/gitlab-projects
index aa05c25..22b0022 100755
--- a/bin/gitlab-projects
+++ b/bin/gitlab-projects
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
require_relative '../lib/gitlab_init'
diff --git a/bin/gitlab-shell b/bin/gitlab-shell
index ed58a0a..6ef572f 100755
--- a/bin/gitlab-shell
+++ b/bin/gitlab-shell
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
unless ENV['SSH_CONNECTION']
puts "Only ssh allowed"
diff --git a/bin/install b/bin/install
index 69dd920..e9c1654 100755
--- a/bin/install
+++ b/bin/install
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby --disable-gems
+#!/usr/bin/env ruby
require_relative '../lib/gitlab_init'