Restore travis testing for JRuby and Rails 4.