Results 1 to 2 of 2

Thread: Rake gives rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (avail

  1. #1
    Join Date
    Dec 2007
    Location
    Sitting on my bed
    Beans
    273
    Distro
    Ubuntu 10.04 Lucid Lynx

    Rake gives rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (avail

    I use 10.04. I have just reinstalled ruby 1.9.2 and rails 3.0.6.rc1.
    When I try rake db:migrate, I get:
    Code:
    naat@naat-laptop:~/eskvalleytales8$ rake db:migrate
    rake aborted!
    ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
    /home/naat/eskvalleytales8/Rakefile:6:in `require
    '
    This is from my rakefile:
    Code:
    require 'rubygems'
    require 'bundler/setup'
    
    require 'rake'
    require 'rake/testtask'
    require 'rdoc/task'
    
    $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
    require 'paperclip
    '
    Has anybody any idea why I get his error ad how to fix it?

  2. #2
    Join Date
    Mar 2013
    Beans
    1

    Re: Rake gives rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (a

    Hi,

    I also have the same problem while I'm running on osx I got the exact same error, I found this browsing for solutions, bugs.debian.org/cgi-bin/bugreport.cgi?bug=649984 and also somebody was suggesting to edit the rakefile in order to replace rake/rdoctask with rdoc/task. Did you manage to solve this? still wondering how to.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •