Change rails 4 dependency on the major number