IOError: closed stream with Jruby-9.1.2.0

10 views
Skip to first unread message

MP

unread,
Sep 22, 2016, 2:56:53 PM9/22/16
to fpm-users

I get a closed stream IOError trying to package with fpm on Jruby 9.1.2.0
[root@ef39c0d /]# ruby --version
jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f OpenJDK 64-Bit Server VM 25.101-b13 on 1.8.0_101-b13 +jit [linux-x86_64]

find ./cache -name '*.gem' | xargs -rn1 fpm --prefix /opt/jruby/lib/ruby/gems/shared --gem-bin-path /opt/jruby/bin -d 'jruby' -s gem -t rpm
IOError: closed stream
flush at org/jruby/RubyIO.java:2159
pump at /opt/jruby-9.1.2.0/lib/ruby/gems/shared/gems/childprocess-0.5.9/lib/childprocess/jruby/pump.rb:45
block in run at /opt/jruby-9.1.2.0/lib/ruby/gems/shared/gems/childprocess-0.5.9/lib/childprocess/jruby/pump.rb:18

FPM version
[root@ef39c0d /]# fpm --version
1.6.3

Reply all
Reply to author
Forward
0 new messages