Ruby and Rails upgrades