0

某人。知道样式插件的这个问题吗?

 G:\testmud>rake db:migrate:down version=20130218112415
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 G:/testmud/Rakefile:7)
4

1 回答 1

0

您会看到一个弃用警告,让您知道在 Rails 4 中,在 vendor/plugins 中存储插件已被删除,以支持使用 gems。如果目录中有插件,则应将它们重构为 ruby​​ gem。如果目录为空,那么您可以安全地删除应删除警告消息的供应商/插件。

于 2013-02-18T21:21:02.413 回答