Setup Rails application production environment on Ubuntu Add deploy user ssh root@YOURDOMAIN adduser deploy visudo # Add deploy ALL=(ALL) ALL Install necessary libraries