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.

[PATCH] Rails3 RC: undefined local var … `rdoc_task_name'

#5279

rails 3 RC
gem 1.3.7
ruby 1.8.7

Clean installation, a hello world app will fail upon its first rake db:migrate with:

undefined local variable or method rdoc_task_name' for #<RDocTaskWithoutDescriptions:0x1024406d0>

Stacktrace here: http://pastie.org/1071769

Someone else with this error here: http://forums.pragprog.com/forums/148/topics/4879

Reported by plasko · August 2nd, 2010 @ 11:22 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. plasko
    plasko
    • Title changed from Rails 3 RC: undefined local variable or method `rdoc_task_name' to Rails3 RC: undefined local var … `rdoc_task_name'

    August 3rd, 2010 @ 12:50 AM

  2. plasko
    plasko

    also, same when switched to rc4 works fine with no other changes.

    August 3rd, 2010 @ 12:52 AM

  3. ktheory
    ktheory
    • Tag set to patch

    This happens with rake 0.8.3 installed. The rdoc_task_name method was added in rake 0.8.4.

    As a workaround, run gem update rake

    The patch bumps the dependency in the railties gemspec.

    August 12th, 2010 @ 11:08 PM

  4. ktheory
    ktheory
    • Title changed from Rails3 RC: undefined local var … `rdoc_task_name' to [PATCH] Rails3 RC: undefined local var … `rdoc_task_name'

    August 12th, 2010 @ 11:13 PM

  5. Repository
    Repository
    • State changed from new to resolved

    (from [3519d61af9f6230354e6c09e4078d7fa0ddf1763]) Bump rake dependency to 0.8.4. [#5279 state:resolved]

    This rake version adds the Rake::RDocTask#rdoc_task_name method, used in
    railties/lib/rails/tasks/documentation.rake

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/3519d61af9f6230354e6c09e4078d7...

    August 24th, 2010 @ 03:58 PM

  6. Repository
    Repository

    (from [d8196bf994562b09cc5691520cc02cff8828c728]) Bump rake dependency to 0.8.4. [#5279 state:resolved]

    This rake version adds the Rake::RDocTask#rdoc_task_name method, used in
    railties/lib/rails/tasks/documentation.rake

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/d8196bf994562b09cc5691520cc02c...

    August 24th, 2010 @ 03:58 PM