summaryrefslogtreecommitdiff
path: root/bin/knife
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-05 21:12:25 -0700
committerTim Smith <tsmith@chef.io>2018-07-05 21:12:25 -0700
commit94fe71288df6b267bd4257ddeb99ebe009ef5860 (patch)
tree23706c6120b562c9400c4e478c3d874eedd75e11 /bin/knife
parentd3d4198c971830715bbf4f5feee7e9f61503f9df (diff)
downloadchef-94fe71288df6b267bd4257ddeb99ebe009ef5860.tar.gz
Don't require rubygems in our binaries
Rubygems is built in Ruby now. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'bin/knife')
-rwxr-xr-xbin/knife3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/knife b/bin/knife
index b8983d6d5c..e93e47d1d4 100755
--- a/bin/knife
+++ b/bin/knife
@@ -3,7 +3,7 @@
# ./knife - Chef CLI interface
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright 2009-2016, Chef Software Inc.
+# Copyright:: Copyright 2009-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -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"