---
title: Ruby agent installation
source: https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/ruby-agent-installation-overview
---

Install the New Relic Ruby agent to start monitoring your Ruby application. Choose the method that matches your environment from the left navigation.

You need a [New Relic account](https://newrelic.com/signup) and your license key to complete installation. See [Ruby agent requirements and supported frameworks](https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/ruby-agent-requirements-supported-frameworks) before you begin.

| Method                                                                                                                                       | Use when                                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [Standard (Bundler/Gemfile)](https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/install-new-relic-ruby-agent)                 | Most Ruby apps — Rails, Sinatra, Roda, Rack, and other UNIX-based environments |
| [Rails plugin](https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/ruby-agent-installation-rails-plugin)                       | Rails 2+ apps using the legacy plugin install method                           |
| [Docker](https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/ruby-agent-installation-docker)                                   | Containerized Ruby applications                                                |
| [Heroku](https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/ruby-agent-heroku)                                                | Apps deployed on Heroku using the New Relic add-on                             |
| [Google App Engine](https://docs.newrelic.com/docs/apm/agents/ruby-agent/installation/install-new-relic-ruby-agent-gae-flexible-environment) | Apps running in the GAE flexible environment                                   |
