Allow failure on jruby & fix localhost resolution