I am using Heroku for my application and it requires PostgreSQL but you can still use SQLite3 for development. Since Heroku strongly advised against having 2 different datab
If you have a specific account/user on your machine for postgres called postgres for example.
Then executing this command will bring a prompt for you to enter a role name.
sudo -u postgres createuser --interactive
Then doing
rake db:create
Should work!