Skip to content
This repository was archived by the owner on Dec 29, 2018. It is now read-only.
This repository was archived by the owner on Dec 29, 2018. It is now read-only.

"jruby bin\rsense server" causes exception #4

Description

@tohosaku

OS: Windows 7 64bit
Ruby: jruby 1.6.0
Rsense: 0.3

When I start rsense server with jruby and command

jruby bin/rsense help

I get an error below

Exception: not opened for reading
org/jruby/RubyIO.java:1339:in `write'
bin\rsense:150:in `server_process'
bin\rsense:136:in `server_process'
org/jruby/RubyKernel.java:1417:in `loop'
bin\rsense:135:in `__ensure__'
bin\rsense:132:in `server_process'
org/jruby/ext/socket/RubyTCPServer.java:270:in `open'
bin\rsense:87:in `open_server'
bin\rsense:131:in `server_process'
bin\rsense:107:in `server_process'
bin\rsense:213:in `exec_command'
bin\rsense:290:in `process'
bin\rsense:299:in `(root)'

So. I comment out line 148 of "bin\rsense"

 #sock.close_read

it woks fine for me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions