Rake db:create db:schema:load failing from Typeerror

I can’t get my database to work, it’s failing at the rake db:create db:schema:load step. The error however is not the one discussed in the troubleshooting guide - instead it’s “TypeError: no implicit conversion of nil into String”. I can’t find any information about this, does anyone have any ideas?

export RAILS_ENV="test"
export RACK_ENV="test"
bundle exec rake db:create db:schema:load --trace
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:create
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
TypeError: no implicit conversion of nil into String

Did you see this SO I think it’s related to your issue.

Thanks for the SO article! However, I don’t really understand how to apply that to my situation, would you be able to elaborate? Thanks so much for your help.