When I load rails (rails s) the first line that shows up in the terminal is:
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from /Users/x/Sites/x/config/application.rb:7)
I have been unable to isolate where this is being used.
Line 7 mentioned above is:
Bundler.require(:default, Rails.env) if defined?(Bundler)
Does anyone have any suggestion?
One of your gems is using
RAILS_ROOTin its initialization code.From your app’s bundle directory, try:
grep -R RAILS_ROOT .(If you are using RVM, the bundle directory will be in
~/.rvm/gems; otherwise it may be.bundlewithin your app’s main directory.)