Clarify vendor/plugins deprecation warning

This commit is contained in:
Jeremy Kemper
2012-01-04 11:49:19 -07:00
parent d22592a05b
commit d9e0c4a013

View File

@@ -53,7 +53,7 @@ module Rails
end
def initialize(root)
ActiveSupport::Deprecation.warn "Plugins are deprecated and will be removed in Rails 4.0. Use gems instead or bundler with path or git dependencies."
ActiveSupport::Deprecation.warn "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."
@name = File.basename(root).to_sym
config.root = root
end