Update rails 4.1 appraisal to work correctly with JRuby