[DRE-commits] [chef] 01/03: remove_rubygems
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Jun 13 18:47:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch patch-queue/debian/wheezy
in repository chef.
commit 47832e4a0d4b0fcba2138351bf8a65eae15387d8
Author: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Date: Sat Feb 21 23:58:35 2015 -0200
remove_rubygems
---
bin/chef-client | 1 -
bin/chef-solo | 1 -
bin/knife | 1 -
bin/shef | 5 -----
4 files changed, 8 deletions(-)
diff --git a/bin/chef-client b/bin/chef-client
index bfd5544..820ec70 100755
--- a/bin/chef-client
+++ b/bin/chef-client
@@ -18,7 +18,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'rubygems'
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'chef'
require 'chef/application/client'
diff --git a/bin/chef-solo b/bin/chef-solo
index 69891ac..0bb5ef7 100755
--- a/bin/chef-solo
+++ b/bin/chef-solo
@@ -18,7 +18,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'rubygems'
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'chef/application/solo'
diff --git a/bin/knife b/bin/knife
index 1e27699..85a1017 100755
--- a/bin/knife
+++ b/bin/knife
@@ -18,7 +18,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'rubygems'
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
require 'chef/application/knife'
diff --git a/bin/shef b/bin/shef
index 9f42aa2..2e2a136 100755
--- a/bin/shef
+++ b/bin/shef
@@ -18,11 +18,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-begin
- require "rubygems"
-rescue LoadError
-end
-
require "irb"
require "irb/completion"
require 'irb/ext/save-history'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/chef.git
More information about the Pkg-ruby-extras-commits
mailing list