Follow JRuby example and switch to bash env call. https://github.com/jruby/jruby/pull/296