[ci skip] Documentation on how to create custom rake tasks.
Merge pull request #12170 from siong1987/task

[ci skip] Documentation on how to create custom rake tasks.
Use the Rails binary when generating task

Copy-edits

[ci skip]