make work with ruby2 not jruby