Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d0f4d93df8
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (21 sloc) 0.56 kb
require "active_support/string_inquirer"
require "active_support/deprecation"
RAILS_ROOT = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do
def target
Rails.root
end
def replace(val)
puts OMG
end
def warn(callstack, called, args)
msg = "RAILS_ROOT is deprecated! Use Rails.root instead."
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
Jump to Line
Something went wrong with that request. Please try again.