Upgrade ruby to v2 and rails to v3.2.13