Updated server ruby version and fixed deployment script