lib/oats/util.rb in oats-0.0.2 vs lib/oats/util.rb in oats-0.0.3
- old
+ new
@@ -1,5 +1,5 @@
-autoload :Process, 'win32/process'
+require 'win32/process' if RUBY_PLATFORM =~ /(mswin|mingw)/ and not defined?(Process)
module Oats
module Util
# def Util.cygwin_fix_path(file,dir = nil)