Add Figaro gem for ENV variables, configure database.yml to use ENV variables, make sure to run bundle install and setup your application.yml for ENV variables