upgrades rails to 4.1