部署rails应用程序时heroku中的DEPRECATION WARNING

时间:2012-11-28 09:16:31

标签: ruby-on-rails ruby-on-rails-3 heroku ruby-on-rails-3.2

  

可能重复:
  Rails 2.3-style plugins and deprecation warnings running task in Heroku

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

的问题

1 个答案:

答案 0 :(得分:5)

在slug编译过程中,Heroku“注入”了一些插件。

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

请参阅Rails 2.3-style plugins and deprecation warnings running task in Heroku