Can't start a NailGun server when running JRuby in 1.9 mode
-----------------------------------------------------------

                 Key: JRUBY-5923
                 URL: https://jira.codehaus.org/browse/JRUBY-5923
             Project: JRuby
          Issue Type: Bug
         Environment: jruby 1.6.2 (ruby-1.9.2-p136) (2011-05-23 e2ea975) 
(OpenJDK Client VM 1.7.0-internal) [darwin-i386-java]
            Reporter: Theo Hultberg
            Assignee: Thomas E Enebo


{noformat}
% echo $JRUBY_OPTS
--1.9
% ruby --ng-server                                                              
                                                                                
                     refactor_database_layer 13:13 reventon
Exception in thread "main" java.net.UnknownHostException: --1.9: nodename nor 
servname provided, or not known
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
        at 
java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)
        at java.net.InetAddress.getAllByName(InetAddress.java:1063)
        at java.net.InetAddress.getByName(InetAddress.java:1013)
        at com.martiansoftware.nailgun.NGServer.main(Unknown Source)
{noformat}

When I remove --1.9 from JRUBY_OPTS it works.

--
This message is automatically generated by JIRA.
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


Reply via email to