Fix Rake Db:populate
Rake aborted! Don't know how to build task 'populate'
1
| |
or
1
| |
While you were writing above command, you get errors like Don't know how to build task 'populate'.
Let’s fix,
Firstly, you should check
1
| |
- if this file exist, you should rename this file
1
| |
then try to run tour rails project.
- if not exist, you should create new file in
lib/tasksdirectory,sample_data.rake.
That’ s all.