ERROR: 'rake/rdoctask' is obsolete and no longer supported

后端 未结 5 1624
野的像风
野的像风 2021-01-15 18:09

Out of the blue, I started getting the following error message:

(in /Users/me/.rvm/gems/ruby-1.9.3-p125@mysql2/gems/rails-0.9.5)
rake aborted!
ERROR: \'rake/         


        
5条回答
  •  北海茫月
    2021-01-15 18:29

    I struck with this same problem when try to install gems by the command rake gems:install my rails version is rails2.3.2 and i have rvm installed. my gem list is,

    actionmailer (2.3.2)
    actionpack (2.3.2)
    activerecord (2.3.2)
    activeresource (2.3.2)
    activesupport (2.3.2)
    bundler (1.3.5)
    rails (2.3.2)
    rake (10.0.4)
    rubygems-bundler (1.1.1)
    rvm (1.11.3.7)
    

    so uninstalled the rake by the command

    rvm use ruby-1.8.7-p371@global && gem uninstall rake -v 10.0.4

    then i installed rake of older version

    rvm use ruby-1.8.7-p371@global && gem install rake -v 0.8.7

    now rake gems:install works fine

    hope it may help some one!

提交回复
热议问题