Skip to content
Ben Armstrong edited this page Apr 3, 2014 · 2 revisions

On VMS, sockets aren't IO streams, so that leads to this bit of nastiness:

VAV:BG> pipe echo "hi" | jrubyng -e "puts gets"
select: socket operation on non-socket
IOError: Unknown stream type: H
    gets at org/jruby/RubyIO.java:2235
    gets at org/jruby/RubyArgsFile.java:283
    gets at org/jruby/RubyKernel.java:359
  (root) at -e:1
select: socket operation on non-socket
VAV:BG> pipe echo "hi" | jruby -e "puts gets"
hi

Clone this wiki locally