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 APP_ROOT/config/ folder.
 - Run bundle install.
 - When the uninstall process finishes, restart your app.
 
For more information about installation, see New Relic for Ruby.