summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-10-22 18:51:29 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2014-10-22 18:51:29 -0700
commit970dc354d242afb0eb00060c5dde9d592ab333a4 (patch)
tree3314cb053ba14498a67b9d300e50a3f4c8b80e65
parentf61750d72e4cfbe019eb031c7f46f9404b1b8558 (diff)
downloadchef-970dc354d242afb0eb00060c5dde9d592ab333a4.tar.gz
Don't require win32-eventlog in rakefilejdmundrawala/12-evt-log
-rw-r--r--ext/win32-eventlog/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32-eventlog/Rakefile b/ext/win32-eventlog/Rakefile
index eaa0c81994..3112c27e8e 100644
--- a/ext/win32-eventlog/Rakefile
+++ b/ext/win32-eventlog/Rakefile
@@ -1,7 +1,6 @@
require 'rubygems'
require 'rake'
require 'mkmf'
-require 'win32/eventlog'
desc "Building event log dll"
@@ -40,6 +39,7 @@ file EVT_SHARED_OBJECT => EVT_RESOURCE_OBJECT do
end
task :register => EVT_SHARED_OBJECT do
+ require 'win32/eventlog'
dll_file = File.expand_path(EVT_SHARED_OBJECT)
Win32::EventLog.add_event_source(
:source => "Application",