1

可能重复:
在 Heroku 中运行任务的 Rails 2.3 样式插件和弃用警告

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support
 for these plugins will be removed in Rails 4.0. Move them out and bundle them i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)

显示3次,有时显示2次是什么意思?有什么特殊含义吗? 如何为 db:migrate 解决这个问题

4

1 回答 1

5

Heroku 在 slug 编译期间“注入”了一些插件。

-----> Rails plugin injection
       Injecting rails_log_stdout
       Injecting rails3_serve_static_assets

请参阅Rails 2.3 风格的插件和弃用警告在 Heroku 中运行任务

于 2012-11-28T09:32:21.637 回答