Configuration
Environment variables
When using environment variables to configure AppSignal the gem will read the configuration from the environment once it starts. CallingAppsignal.start is enough.
Configuration file
When using a configuration file to configure AppSignal, the Ruby gem needs to be configured before it is started. It will look for theconfig/appsignal.rb file in the current working directory of the application process.
Alternatively, it can also be configured using the Appsignal.configure helper as shown in the example below.
config/ directory containing an appsignal.rb file to load the configuration.
The second argument is the environment it will load from the configuration file.