ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Getting rid of "rake/rdoctask is deprecated." warning (Bug #477)


Added by Gregor Schmidt at 2011-06-16 09:26 am. Updated at 2011-06-17 04:04 pm.


Status:Closed Start date:2011-06-16
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.0.0
Remote issue URL: Affected version:

Description

When running rake commands like rake db:migrate on the release-2.0.0 branch, I'm getting the following warning:

rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)

I don't know since when exactly, the warning is emitted, but it may easily be fixed (see attached pull request).

Since rdoc 2.4.2 - which introduced the new rdoc/task was released in 2009, we can probably assume, that adding that dependency will not harm anybody.


Associated revisions

Revision 2630a84e
Added by Gregor Schmidt at 2011-06-16 11:29 am

[#477] Not using deprecated rake/rdoctask but rdoc/task instead

works with all rdoc versions since 2.4.2
see https://github.com/rdoc/rdoc/blob/master/History.txt

Revision 9ce7fd42
Added by Felix Schäfer at 2011-06-16 07:08 pm

Merge pull request #76 from schmidt/b/477-rake-rdoctask

Getting rid of "rake/rdoctask is deprecated." warning. #477

History

Updated by Gregor Schmidt at 2011-06-16 09:30 am

  • Assignee deleted (Gregor Schmidt)
  • Status changed from Open to Ready for review

Updated by Felix Schäfer at 2011-06-16 05:10 pm

Looks good, thanks.

  • Status changed from Ready for review to Closed

Updated by Eric Davis at 2011-06-17 04:04 pm

Gregor Schmidt wrote:

I don't know since when exactly, the warning is emitted, but it may easily be fixed (see attached pull request).

It was in the Rails 2.3.12 upgrade (#453). I think Rails missed some requires or requirements which is why they just started appearing (and is why I had to add rdoc to the Gemfile)

Also available in: Atom PDF