Logo of AppSignal

Menu
Docs navigation

Installing AppSignal for Ruby

Installation

Please follow the installation guide 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.

Ubuntu / Debian

1
2
apt-get update
apt-get install build-essential

Alpine Linux

1
apk add --update alpine-sdk coreutils

CentOS / Fedora

1
yum install gcc gcc-c++ make openssl-devel

Fedora 22+*

1
dnf install gcc gcc-c++ make openssl-devel

macOS

1
xcode-select --install

Installing the gem

We recommend you install and manage the AppSignal gem dependency with Bundler.

Add the following line to your Gemfile.

1
2
3
4
# Gemfile
source "https://rubygems.org"

gem "appsignal"

Then run bundle install to instal 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.

1
bundle exec appsignal install YOUR_PUSH_API_KEY

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.