Trying out a sample application using rails, I faced a problem, getting the database tables created (migrated) using ‘rake’. Running the command
rake migrate
threw the following error
(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
rake db:migrate
Hope this helps!