You have tried sudo rake db::create and received the following error:

rake aborted!

Don’t know how to build task ‘db::create’

 

1. In terminal navigate to your app folder, and try the following command: sudo rake db:create

This is the same command with single colon which solved the error in my case.