When Rails does not recognize Rake tasks in lib/tasks

Updated . Posted . Visible to the public.

When you put a Rake task into lib/tasks, but running it fails with...

Don't know how to build task name:of:task

... does your Rake task's filename end in .rb? It needs to end in .rake instead.

Henning Koch
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-09-19 15:03)