add missing jruby interpreter handling, fix #2401