Remove config.gem deprecation stub since its not "deprecated" but

completely removed.

This makes feature detection easier with config.respond_to?(:gem)
This commit is contained in:
Joshua Peek
2010-01-06 11:33:04 -06:00
parent 0d5ce7c525
commit 88fd569ba0

View File

@@ -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