lib/new_relic/control/frameworks/rails.rb in newrelic_rpm-3.1.2 vs lib/new_relic/control/frameworks/rails.rb in newrelic_rpm-3.2.0.beta1
- old
+ new
@@ -78,10 +78,10 @@
log!("To view performance information, go to http://localhost#{port}/newrelic")
end
rescue Exception => e
log!("Error installing New Relic Developer Mode: #{e.inspect}", :error)
end
- else
+ elsif rails_config
log!("Developer mode not available for Rails versions prior to 2.2", :warn)
end
end
def log!(msg, level=:info)