Rake Migrate – Aborted!
Trying out a sample application using rails, I faced a problem, getting the database tables created (migrated) using ‘rake’. Running the command
1 | rake migrate |
threw the following error
1 2 3 4 5 | (in /home/rajesh/Programming/rails/todolist) rake aborted! Don't know how to build task 'migrate' (See full trace by running task with --trace) |
The search on internet forums only said that ‘rake migrate’ should do the job, but to no avail.
The actual command to get the tables created is
1 | rake db:migrate |
Hope this helps!