setupRubyUbuntu install rbenv install version of Ruby (2.5.3) set default ruby version shell script, make executable chmod +x /path/to/yourscript.sh Setting up PostgreSQL set up a user sudo -u postgres createuser devuser -s