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

后端 未结 5 1655
野的像风
野的像风 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条回答
  •  萌比男神i
    2021-01-15 18:11

    Take a look at similar problem solution on StackOverflow

    Another option is to use (example taken from Redmine Rakefile)

    require 'rdoc'
    require 'rdoc/task'
    

    Instead of

    require 'rake/testtask'
    require 'rake/rdoctask'
    

提交回复
热议问题