Doesn't yet work on rbx and jruby