我在rails 3.2项目中得到了这个弃用错误,我从rails 3.1项目升级了
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 in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/Rakefile:7)
我正试图摆脱这个错误,但我似乎无法找到插件。我已经从vendor / plugins中删除了插件。
答案 0 :(得分:3)
如果你的供应商/插件完全是空的,那么我打赌你正在部署到Heroku。作为部署过程的一部分,Heroku将插件注入您的应用程序。查看this Stackoverflow answer以了解此问题的实际Heroku响应。