Update ruby, rails and some packages to fix vulnerabilities