newrelic/rpm — pull request #43 by coffeencoke (2011-11-10 15:59:08+00:00)
Title: DEPRECATION WARNING: RAILS_ROOT

When we start server, run specs, cukes, etc. we get the following:

DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from rescue in block in at /var/rails/t1d/shared/bundle/ruby/1.9.1/bundler/gems/rpm_contrib-1c7d10c775c0/lib/rpm_contrib/instrumentation.rb:13)

After searching the stack, we have found this file to be the blame. We are running rails 3 which makes me curious why this file would be running. Please let me know if this is not an accurate blame.

Thanks.

Matt