rake aborted!
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
其他问题建议修改 RakeFile,但在 Rails 3.1.0 中,我的 rakefile 如下所示:
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
我不知道如何应用这个答案:错误:'rake/rdoctask' 已过时,不再受支持。改用“rdoc/task”(在 RDoc 2.4.2+ 中可用)