【问题标题】:Rails: error message导轨:错误消息
【发布时间】:2013-02-18 21:04:41
【问题描述】:

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

 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)

【问题讨论】:

    标签: ruby-on-rails plugins styles


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-15
      • 1970-01-01
      • 2011-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多