Upgraded rails' gems to 4.0.0