database.yml should be configured before using bundler.
Always run bundler update