Rails:错误消息



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

 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)

您看到了一个弃用警告,让您知道在Rails4中,在vendor/plugins中存储插件已经被删除,转而使用gem。如果目录中有插件,则应该将它们重构为ruby宝石。如果目录为空,那么您可以安全地删除供应商/插件,这将删除警告消息。

相关内容

  • 没有找到相关文章

最新更新