```ruby
require File.expand_path('../config/environment', __FILE__)

if ENV['RACK_ENV'] == 'development'
  puts "Loading NewRelic in developer mode ..."
  require 'new_relic/rack/developer_mode'
  use NewRelic::Rack::DeveloperMode
end

NewRelic::Agent.manual_start
NewRelic::Agent.ignore_apdex '/newrelic'

require 'api'
run App::Api
```

Fix the error when start up example app.
user
```ruby
require File.expand_path('../config/environment', __FILE__)

if ENV['RACK_ENV'] == 'development'
  puts "Loading NewRelic in developer mode ..."
  require 'new_relic/rack/developer_mode'
  use NewRelic::Rack::DeveloperMode
end

NewRelic::Agent.manual_start

require 'api'
run App::Api
```
assistant