プロジェクト

全般

プロフィール

Vote #70139

完了

rake/rdoctask is deprecated

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gems support_45
対象バージョン:
開始日:
2011/06/15
期日:
進捗率:

0%

予定工数:
category_id:
45
version_id:
36
issue_org_id:
8611
author_id:
3432
assigned_to_id:
0
comments:
11
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
27
ステータス-->[Closed]

説明

whenever I raked something(like, rake db:migrate), I got this warning:

rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
WARNING: 'task :t, arg, :needs => [deps]' is deprecated.  Please use 'task :t, [
args] => [deps]' instead.
    at D:/RubyOnRails/projects/redmine/lib/tasks/email.rake:170

it's a minor problem for now, just to report it.

my versions:
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
*** LOCAL GEMS ***

actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
cgi_multipart_eof_fix (2.5.0
gem_plugin (0.2.3)
i18n (0.4.2)
mongrel (1.1.5 x86-mingw32)
mongrel_service (0.4.0)
mysql (2.8.1 x86-mingw32)
rack (1.1.1)
rails (2.3.11)
rake (0.9.2)


journals

Not a redmine issue, just a rake/RoR compatibility warning.
--------------------------------------------------------------------------------
It's more than a compatibility warning I think, some rake tasks don't work for me with rake 0.9.2. I recommend sticking with rake 0.8.7 for now.
--------------------------------------------------------------------------------
> If you have both versions installed, you can run @rake _0.8.7_ db:migrate@.

--------------------------------------------------------------------------------
Actually the syntax is supported at least since Rake 0.8.3, so we could remove this warning.
--------------------------------------------------------------------------------
Etienne Massip wrote:
> Actually the syntax is supported at least since Rake 0.8.3

Sorry, I was refering to the ??WARNING?? part.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
RDoc deprecation fixed.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Backed out r7541 with r7542 since the build failed, needs some new commit after build environment update.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fix applied with a more friendly way to deal with a missing rdoc gem, considering that 99.9% of users just rake db:migrate and do not need it.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,9424,rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
duplicates,Closed,9561,Redmine - can't install... iritating. please help soon :S

Admin Redmine さんがほぼ2年前に更新

  • カテゴリGems support_45 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0