summaryrefslogtreecommitdiff
path: root/bin/chef-zero
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chef-zero')
-rwxr-xr-xbin/chef-zero2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
index 0b4a99a..56050ef 100755
--- a/bin/chef-zero
+++ b/bin/chef-zero
@@ -3,7 +3,7 @@
# Trap interrupts to quit cleanly.
Signal.trap("INT") { exit 1 }
-require "rubygems"
+require "rubygems" unless defined?(Gem)
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
require "chef_zero/log"