Installing AppSignal for Ruby
Please follow the installation guide first, when adding a new application to AppSignal.
Requirements
Before you can compile the AppSignal gem make sure the build/compilation tools are installed for your system. Please check the Supported Operating Systems page for any system dependencies that may be required.
Installing the gem
We recommend you install and manage the AppSignal gem dependency with Bundler.
Add the following line to your Gemfile
.
Then run bundle install
to install the gem.
To install AppSignal in your application we recommend you run the appsignal install
command. Please provide it with your Push API key to configure it properly.
This will present you with an installation script that can integrate automatically in some frameworks and gems and will allow you to configure AppSignal.
For more information on how to integrate AppSignal into your application see the integrations documentation to see what steps are necessary.
Uninstall
Uninstall AppSignal from your app by following the steps below. When these steps are completed your app will no longer send data to the AppSignal servers.
-
In the
Gemfile
of your app, delete thegem "appsignal"
line. -
Run
bundle install
to update yourGemfile.lock
with the removed gem state. -
Remove any AppSignal configuration files from your app.
- Configuration file location:
config/appsignal.yml
- Configuration file location:
-
Remove any system environment variables from your development, staging, production, etc. hosts.
-
Environment variables prefixed with
APPSIGNAL_
-
Environment variable
APP_REVISION
-
-
Commit, deploy and restart your app.
- This will make sure the AppSignal servers won't continue to receive data from your app.
-
Optional: Make sure no
appsignal-agent
processes are running in the background.- Check the output of
ps aux | grep appsigal-agent
and kill the processes still running.
- Check the output of
-
Finally, remove the app on AppSignal.com.