That looks like you didn’t configure smtp when you ran discourse-setup-ruby.
The problem with the new system is that it writes an app.yml that does not include an the settings in it. You’ll need to either look at the template and copy what you want, or delete/rename the existing yml file and rub discourse-setup from scratch. That’s going to be the easiest thing to do.