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)
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
[#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
History
Updated by Gregor Schmidt at 2011-06-16 09:30 am
Pull request is at https://github.com/chiliproject/chiliproject/pull/76
- 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)