aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-01-04 11:49:19 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-01-04 11:49:19 -0700
commitd9e0c4a0132ef71e9f6901440ed261037263dbc3 (patch)
tree6e0c1ec71a5a405e6fd375fc9d094d9263c6506b
parentd22592a05b299c21e30ec8b38890a178dca863b4 (diff)
downloadrails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.tar.gz
rails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.tar.bz2
rails-d9e0c4a0132ef71e9f6901440ed261037263dbc3.zip
Clarify vendor/plugins deprecation warning
-rw-r--r--railties/lib/rails/plugin.rb2
1 files changed, 1 insertions, 1 deletions
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