This document explains how to uninstall the New Relic Ruby agent. For instructions on how to temporarily disable the agent, see Disable the agent.
To uninstall the Ruby agent:
- Delete the line
gem 'newrelic_rpm'from your Gemfile.
- Remove the newrelic.yml file from your RAILS_ROOT/config/ folder.
- Run bundle install.
- When the uninstall process finishes, restart your app.
For more information about installation, see New Relic for Ruby.
Additional documentation resources include:
- Troubleshooting the Ruby agent (a library of troubleshooting solutions for your Ruby application)