[DRE-commits] [test-kitchen] 04/13: Do not change LOAD_PATH and do not use rubygems in binary
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Fri Aug 5 12:46:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch patch-queue/master
in repository test-kitchen.
commit 17474f07d71d0f7c735c2eadefc5e3730f9a13f3
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Tue Jun 30 11:00:18 2015 +0300
Do not change LOAD_PATH and do not use rubygems in binary
---
bin/kitchen | 2 --
1 file changed, 2 deletions(-)
diff --git a/bin/kitchen b/bin/kitchen
index 374fad3..05c94d6 100755
--- a/bin/kitchen
+++ b/bin/kitchen
@@ -5,8 +5,6 @@
# https://twitter.com/mitchellh/status/283014103189053442
Signal.trap("INT") { exit 1 }
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), %w[.. lib])
-require "rubygems"
require "kitchen/cli"
require "kitchen/errors"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/test-kitchen.git
More information about the Pkg-ruby-extras-commits
mailing list