look for the taps gem
best regards -botp
change in database.yml , use the syntax which is needed for PG , and again run command
bundle exec rake db:create
bundle exec rake db:migrate