From ac2128d9cdfbc0354a99c6b94745652df2dddf5f Mon Sep 17 00:00:00 2001 From: Robert Dingwell Date: Mon, 5 Dec 2011 11:28:01 -0500 Subject: changing JRuby import statement to java_import. This is done to allow the use of systemu with JRuby and Rake. Rake and JRuby have conflicting import statements --- lib/systemu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/systemu.rb b/lib/systemu.rb index 9121367..e4fc680 100644 --- a/lib/systemu.rb +++ b/lib/systemu.rb @@ -259,7 +259,7 @@ end # some monkeypatching for JRuby if defined? JRUBY_VERSION require 'jruby' - import org.jruby.RubyProcess + java_import org.jruby.RubyProcess class SystemUniversal def systemu -- cgit v1.2.1