updated rails to v4.0.1 and gems