Dio Void
Dio Void

Reputation: 21

RoR Rake 10.4.2 Error: "Don't know how to build task 'db:'"

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

Answers (1)

Brenes
Brenes

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

Related Questions