rake aborted!
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
其他問題,建議修改Rake文件,但在Rails的3.1.0我的Rake文件看起來是這樣的:Rake Abort! 「耙/ rdoctask」已過時
1 #!/usr/bin/env rake
2 # Add your own tasks in files placed in lib/tasks ending in .rake,
3 # for example lib/tasks/capistrano.rake, and they will automatically be avai lable to Rake.
4
5 require File.expand_path('../config/application', __FILE__)
6
7 Store::Application.load_tasks
我不知道怎樣應用這個答案:ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead
你見過[錯誤:'rake/rdoctask'已過時,不再支持。使用'rdoc/task'(在RDoc 2.4.2+中可用)](http://stackoverflow.com/questions/14117114/error-rake-rdoctask-is-obsolete-and-no-longer-supported-use- RDoc的任務 - AVA)? – 2013-04-22 18:30:35
是的,我把它包含在我原來的問題中。 – 2013-04-22 18:33:02