Support for both platforms, Ruby and JRuby.