From c9042c5aaee760d3ff57fb06c91c59f560ff353c Mon Sep 17 00:00:00 2001 From: David Dollar Date: Sun, 22 Jan 2012 17:30:02 -0500 Subject: [PATCH] move the spoon require into the jruby branch --- lib/foreman/process.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/foreman/process.rb b/lib/foreman/process.rb index a8f653c..f63aed9 100644 --- a/lib/foreman/process.rb +++ b/lib/foreman/process.rb @@ -1,6 +1,5 @@ require "foreman" require "rubygems" -require "spoon" if RUBY_PLATFORM == "java" class Foreman::Process @@ -35,7 +34,7 @@ private reader, writer = IO.pipe command = replace_command_env(command) pid = if jruby? - Spoon.spawnp Foreman.runner, command + require "spoon" Spoon.spawnp Foreman.runner, "-d", basedir, command else fork do