This guide aims to get you started running a basic Ruby on Rails application on Ubuntu. It can be used for web applications with small usage and provides a cheap alternative, e.g. €5 a month on Digital Ocean, to services like Heroku which cost much more because of expensive add-ons. The setup includes:
- support for just a single Ruby on Rails web application
- database support (PostgreSQL)
- email support (sendmail)
- background job support
- multiple application processes (Unicorn)
- front-end http server with asset caching (Nginx)