upgrade rails to 3.2.13 and other gems for compatibility