Fixed a problem with an edge rails and Travis build