Upgrade rails 3.2.16 and semver gems