Permalink
Browse files

Merge pull request #36 from iain/remove-autoload

Removed Autoload to solve threading issues
  • Loading branch information...
2 parents 6730cce + 9c7504d commit b12c091746b5bd1d42f0502a91a9f537911bb8ad @jarib jarib committed Jul 9, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/childprocess.rb
View
@@ -4,9 +4,6 @@
require "fcntl"
module ChildProcess
- autoload :Unix, 'childprocess/unix'
- autoload :Windows, 'childprocess/windows'
- autoload :JRuby, 'childprocess/jruby'
@posix_spawn = false
@@ -172,3 +169,7 @@ def warn_once(msg)
end # ChildProcess
require 'jruby' if ChildProcess.jruby?
+
+require 'childprocess/unix' if ChildProcess.unix?
+require 'childprocess/windows' if ChildProcess.windows?
+require 'childprocess/jruby' if ChildProcess.jruby?

0 comments on commit b12c091

Please sign in to comment.