Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rake tasks missing description

#6427

According to the rails guides page:

http://guides.rubyonrails.org/testing.html

When you run :

rake --tasks --describe

or

rake --tasks

You should be able to see the db:test group of rake tasks as described in this paragraph "3.1.1 Rake Tasks for Preparing your Application for Testing"
but they dont appear.

Reported by Pawel Barcik · February 13th, 2011 @ 04:25 PM

State: invalid
Milestone: none
Assigned to: Xavier Noria Xavier Noria
Importance: Low

Activity

  1. Vijay Dev
    Vijay Dev
    • Assigned user set to Xavier Noria

    rake --tasks does not show the tasks which do not have descriptions provided using the desc command if I remember right.

    February 13th, 2011 @ 05:53 PM

  2. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • State changed from new to invalid
    • Importance changed from to Low

    Rake doesn't show tasks without descriptions by default.

    From http://rake.rubyforge.org/files/doc/rakefile_rdoc.html:

    Only tasks with descriptions will be displayed with the "-T" switch. Use "-P" (or "—prereqs") to get a list of all tasks and their prerequisites.

    So, if you want to see tasks without descriptions, use -P. I'm making this one as invalid since this is intended behavior.

    Thanks for reporting! :)

    February 14th, 2011 @ 07:16 PM

  3. Vijay Dev
    Vijay Dev

    Good to know about the -P switch :)

    February 15th, 2011 @ 03:54 AM