matschaffer/win32-open3-19 — Issue #2: Invalid argument - java -jar
Author: jarmo
Created: 2011-11-25 13:33:10+00:00
State: open

I'm seeing this when trying to use it with jammit's yui-compressor:

C:/Ruby193/lib/ruby/1.9.1/open3.rb:202:in `spawn': Invalid argument - java -jar C:/Ruby193/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/../yuicompresso
r-2.4.4.jar --type css --charset utf-8 (Errno::EINVAL)
from C:/Ruby193/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
from C:/Ruby193/lib/ruby/1.9.1/open3.rb:90:in `popen3'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-open3-19-0.0.1/lib/win32/open3.rb:5:in `popen4'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/POpen4-0.1.4/lib/popen4.rb:48:in `popen4'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:68:in `block in compress'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:117:in `streamify'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:66:in `compress'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/compressor.rb:83:in `compress_css'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/packager.rb:80:in `pack_stylesheets'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/packager.rb:43:in `block in precache_all'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/packager.rb:42:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/packager.rb:42:in `precache_all'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit.rb:132:in `package!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/lib/jammit/command_line.rb:29:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/bin/jammit:5:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jammit-0.6.3/bin/jammit:5:in `'
from C:/ruby193/bin/jammit:21:in `load'
from C:/ruby193/bin/jammit:21:in `

'