[jruby] issue with nailgun
Nicola Mingotti <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have JRuby-9.1.17.0 installed on Linux-Red Hat Enterprise Linux Server 7.6 (Maipo). I am trying to use nailgun to run some Ruby shell scripts from the command line but I found a problem. STDOUT goes to the "jruby --ng-server" terminal, instead of the terminal running "jruby --ng fooBar.rb". Example. 1] Open 2 xterm: let's calle them xt1 and xt2 2] [xt1] $> ssh [email protected] 3] [xt1] $> jruby --ng-server 4] [xt2] $> ssh [email protected] 5] [xt2] $> jruby --ng -e 'puts "hello world"' The problem is, "hello world" appears in terminal xt1, not in terminal xt2, as one would expect. In the examples you could find online, e.g. here: http://blog.headius.com/2009/05/jruby-nailgun-support-in-130.html the problem is not apparent because nailgun server and client run attached to the same terminal. Is there a simple way to fix this ? It would be most useful. bye Nicola Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>