Skip to content

Instantly share code, notes, and snippets.

@batasrki
Created June 21, 2013 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batasrki/5834795 to your computer and use it in GitHub Desktop.
Save batasrki/5834795 to your computer and use it in GitHub Desktop.
Starting Nailgun breaks if JRUBY_OPTS is set
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment