mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user