Skip to content

Instantly share code, notes, and snippets.

@batasrki
Created June 21, 2013 22:25

Revisions

  1. batasrki created this gist Jun 21, 2013.
    13 changes: 13 additions & 0 deletions cli
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # in .zshrc, I got the following
    export JRUBY_OPTS=--1.9

    → jruby --ng-server
    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:894)
    at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1239)
    at java.net.InetAddress.getAllByName(InetAddress.java:1155)
    at java.net.InetAddress.getAllByName(InetAddress.java:1091)
    at java.net.InetAddress.getByName(InetAddress.java:1041)
    at com.martiansoftware.nailgun.NGServer.main(Unknown Source)