Ruby Setup

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


AInstall our gem.

In your gemfile:

gem 'scout_apm'


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.



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:

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