summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-20 00:23:42 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-20 00:23:42 -0700
commit128e40d7f932bce64fa2862a4639dffdade15a78 (patch)
treee54faeb0fb4874a817bdb3156f126099913188ce /bin
parent7cd521c4eca28cf24a1ae15f77d983db2be2e6a0 (diff)
downloadchef-zero-128e40d7f932bce64fa2862a4639dffdade15a78.tar.gz
Additional gatesrequires
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-zero2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
index 56050ef..87c894a 100755
--- a/bin/chef-zero
+++ b/bin/chef-zero
@@ -11,7 +11,7 @@ require "chef_zero/dist"
require "chef_zero/version"
require "chef_zero/server"
require "chef_zero/data_store/raw_file_store"
-require "optparse"
+require "optparse" unless defined?(OptionParser)
def parse_port(port)
array = []