adding support for jruby
adding support for jruby