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

"jruby bin\rsense server" causes exception #4

Open
tohosaku opened this issue Mar 28, 2011 · 0 comments
Open

"jruby bin\rsense server" causes exception #4

tohosaku opened this issue Mar 28, 2011 · 0 comments

Comments

@tohosaku
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant