0

我在安装 fedena 时收到以下警告,我该如何解决

  rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
    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 Spec::Rake::SpecTask#task called at C:/Fedena/lib/tasks/rspe
    c.rake:28:in `initialize'
4

2 回答 2

0

我最近安装了 Fedena。命令“bundle exec rake db:create”对我有用!如果需要,很高兴提供更多信息!

于 2012-08-14T12:00:38.760 回答
0

1. 转到 rakefile

改变require 'rake/rdoctask'

require 'rdoc/task'

2. 前往 Gemfile

添加gem 'rdoc'

3.运行捆绑

于 2013-06-16T09:21:29.407 回答