From 88fd569ba0faaecbc88ab26e24dc15f12e14fd6e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Wed, 6 Jan 2010 11:33:04 -0600 Subject: Remove config.gem deprecation stub since its not "deprecated" but completely removed. This makes feature detection easier with config.respond_to?(:gem) --- railties/lib/rails/deprecation.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'railties/lib/rails/deprecation.rb') diff --git a/railties/lib/rails/deprecation.rb b/railties/lib/rails/deprecation.rb index 3c5b8bdec7..155166a113 100644 --- a/railties/lib/rails/deprecation.rb +++ b/railties/lib/rails/deprecation.rb @@ -15,11 +15,3 @@ RAILS_ROOT = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do ActiveSupport::Deprecation.warn(msg, callstack) end 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 -- cgit v1.2.3