Nailgun / IRB hang under launchd -------------------------------- Key: JRUBY-4753 URL: http://jira.codehaus.org/browse/JRUBY-4753 Project: JRuby Issue Type: Bug Components: Launcher Affects Versions: JRuby 1.5 Environment: JVM 1.5 on Leopard PPC Reporter: Ian Dees Assignee: Thomas E Enebo
{{jruby --ng -S irb --noreadline}} hangs when attempting to connect to an instance of Nailgun that was started with {{launchctl}}. Other uses of {{jruby --ng}} seem to work, such as checking the version or running a script. Also, the setup works when Nailgun is started from the command line, rather than a launchd script. Here is the affected launchd script: {noformat} <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.example.nailgun</string> <key>ProgramArguments</key> <array> <string>/bin/sh</string> <string>-c</string> <string>/Users/username/bin/nailgun-server</string> </array> </dict> </plist> {noformat} ... and here are the contents of the {{nailgun-server}} it calls: {noformat} #!/bin/sh export PATH=$PATH:/usr/local/bin /Users/username/src/ext/jruby/bin/jruby --ng-server 127.0.0.1:55555 {noformat} Nailgun + launchd + IRB worked fine together in revisions before f4f572. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email