Reputation: 21
I want to create a MySQL database in Ruby on Rails using:
rake db: create
But it gives me out an error:
rake aborted! Don't know how to build task 'db:'
I am running Ubuntu and cant find answers on the internet about my version of rake (10.4.2).
Upvotes: 0
Views: 1603
Reputation: 351
It's rake db:create
without a blank between db:
and create
.
If you type rake -T
you can find the available rake tasks with their proper names.
Upvotes: 2