【发布时间】:2013-04-23 08:28:51
【问题描述】:
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
我不知道如何应用这个答案:ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead
【问题讨论】:
-
是的,我将它包含在我原来的问题中。
标签: ruby-on-rails-3 rake