Upgrading a big application to Rails 5

Deployment