Try to always require newrelic_rpm
Try requiring newrelic_rpm before requiring the app
Don't require newrelic in base.rb
Fix newrelic

I updated newrelic to beta version, which fixed problems with starting
the dispatcher in some of the environments.