Upgrade rails to 4.1.7.