---
title: Ruby Compatibility Requirements
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Enabling AAP for Ruby > Ruby Compatibility Requirements
---

# Ruby Compatibility Requirements

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ().
{% /alert %}

{% /callout %}

## App and API Protection capabilities{% #app-and-api-protection-capabilities %}

The following App and API Protection capabilities are supported in the Ruby library, for the specified tracer version:

| App and API Protection capability      | Minimum Ruby tracer version |
| -------------------------------------- | --------------------------- |
| Threat Detection                       | 1.9.0                       |
| Threat Protection                      | 1.11.0                      |
| Customize response to blocked requests | 1.15.0                      |
| Automatic user activity event tracking | 1.14.0                      |
| API Security                           | 2.17.0                      |

The minimum tracer version to get all supported App and API Protection capabilities for Ruby is 2.17.0.

### Supported deployment types{% #supported-deployment-types %}

| Type             | Threat Detection support |
| ---------------- | ------------------------ |
| Docker           | yes                      |
| Kubernetes       | yes                      |
| Amazon ECS       | yes                      |
| AWS Fargate      | yes                      |
| AWS Lambda       |
| Google Cloud Run |

## Language and framework compatibility{% #language-and-framework-compatibility %}

### Supported Ruby interpreters{% #supported-ruby-interpreters %}

The Datadog Ruby Tracing library is open source. View the [GitHub repository](https://github.com/DataDog/dd-trace-rb) for more information.

- MRI versions 2.5 to 3.5
- JRuby versions 9.2.21.0+ and 9.4

These are supported on the following architectures:

- Linux (GNU) x86-64, aarch64
- Alpine Linux (musl) x86-64, aarch64
- macOS (Darwin) x86-64, arm64

You must be running Datadog Agent v7.41.1+ for App and API Protection features.

## Integrations{% #integrations %}

The Ruby tracer includes support for the following frameworks, ORMs, and libraries:

### Web and API frameworks{% #web-and-api-frameworks %}

- Rails
- Sinatra
- Grape

### ORMs{% #orms %}

- ActiveRecord

### HTTP clients{% #http-clients %}

- Faraday
- Excon
- RestClient

### Other{% #other %}

- GraphQL
- Rack
