Reputation: 10207
whenever I run a rake task on the command line I get this error message:
'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/rdoctask.rb WARNING: Global access to Rake DSL methods is deprecated. Please include ... Rake::DSL into classes and modules which use the Rake DSL methods. WARNING: DSL method Billings::Application#task called at /Library/Ruby/Gems/1.8/gems/railties-3.0.1/lib/rails/application.rb:214:in `initialize_tasks' Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Can anybody tell me how to get rid of this?
Upvotes: 0
Views: 579
Reputation: 17392
How about generating a new app in another directory an copy the Rakefile? If the problem persists, it may be a problem of your custom rake tasks or some of your gems/plugins.
Upvotes: 0