split JRuby and MRI Ruby into separate files