aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/deprecation.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2009-10-17 14:38:21 -0700
committerCarl Lerche <carllerche@mac.com>2009-10-17 14:38:40 -0700
commitd0f4d93df823d5124d8f2cc740471d458633c338 (patch)
tree3a4b0af10e769fa998131cb9a5a9b97dba03f933 /railties/lib/rails/deprecation.rb
parentf936a1f100e75082081e782e5cceb272885c2df7 (diff)
downloadrails-d0f4d93df823d5124d8f2cc740471d458633c338.tar.gz
rails-d0f4d93df823d5124d8f2cc740471d458633c338.tar.bz2
rails-d0f4d93df823d5124d8f2cc740471d458633c338.zip
Remove some remnants of config.gem
Diffstat (limited to 'railties/lib/rails/deprecation.rb')
-rw-r--r--railties/lib/rails/deprecation.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/railties/lib/rails/deprecation.rb b/railties/lib/rails/deprecation.rb
index 42bba151d6..3c5b8bdec7 100644
--- a/railties/lib/rails/deprecation.rb
+++ b/railties/lib/rails/deprecation.rb
@@ -14,4 +14,12 @@ RAILS_ROOT = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do
msg = "RAILS_ROOT is deprecated! Use Rails.root instead."
ActiveSupport::Deprecation.warn(msg, callstack)
end
-end).new \ No newline at end of file
+end).new
+
+module Rails
+ class Configuration
+ def gem(*args)
+ ActiveSupport::Deprecation.warn("config.gem has been deprecated in favor of the Gemfile.")
+ end
+ end
+end \ No newline at end of file