summaryrefslogtreecommitdiff
path: root/bin/chef-client
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/chef-client
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/chef-client')
-rwxr-xr-xbin/chef-client3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/chef-client b/bin/chef-client
index 207bb8941f..af27d7903d 100755
--- a/bin/chef-client
+++ b/bin/chef-client
@@ -3,7 +3,7 @@
# ./chef-client - Run the chef client
#
# Author:: AJ Christensen (<aj@chef.io>)
-# Copyright:: Copyright 2008-2016, Chef Software Inc.
+# Copyright:: Copyright 2008-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.join(File.dirname(__FILE__), "..", "lib"))
require "chef"
require "chef/application/client"