diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-05 21:12:25 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-05 21:12:25 -0700 |
commit | 94fe71288df6b267bd4257ddeb99ebe009ef5860 (patch) | |
tree | 23706c6120b562c9400c4e478c3d874eedd75e11 /bin/chef-windows-service | |
parent | d3d4198c971830715bbf4f5feee7e9f61503f9df (diff) | |
download | chef-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-windows-service')
-rwxr-xr-x | bin/chef-windows-service | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/chef-windows-service b/bin/chef-windows-service index 184c3d7cd6..646e3b4a93 100755 --- a/bin/chef-windows-service +++ b/bin/chef-windows-service @@ -2,7 +2,7 @@ # # Author:: Jay Mundrawala (<jdm@chef.io>) # -# Copyright:: 2014, Chef Software, Inc. +# Copyright:: 2014-2018, Chef Software, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ # generate will call that file, and will be registered as # a windows service. -require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "chef" require "chef/application/windows_service" |