Ruby Setup

Get started in under 3 minutes with our easy to install Ruby agent.

Installation

AInstall our gem.

In your gemfile:

gem 'scout_apm'

Shell:

bundle install

B Download your customized config file, placing it at config/scout_apm.yml.

Heroku Customers: We initially provision your application using environment variables instead of the config/scout_apm.yml.
Configuration values set via env variables will take priority over those set via yaml.

CDeploy.

Local

Testing/using Scout APM locally is as easy as following the above instructions, but setting monitor: true under development in your config/scout_apm.yml.

You may also want to denote a different app name using the name configuration value in development. For example:

development:
  <<: *defaults
  monitor: true
  name: Example (development)