From d9e0c4a0132ef71e9f6901440ed261037263dbc3 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 4 Jan 2012 11:49:19 -0700 Subject: Clarify vendor/plugins deprecation warning --- railties/lib/rails/plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/lib/rails/plugin.rb b/railties/lib/rails/plugin.rb index 4c34eb331e..883453dad5 100644 --- a/railties/lib/rails/plugin.rb +++ b/railties/lib/rails/plugin.rb @@ -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 -- cgit v1.2.3