Ruby agent compatibility


The Ruby agent is compatible with the most popular web frameworks, operating systems and web servers. Below you can find more details about specific version compatibility.

Refer to the installation steps to install Sqreen in your Ruby applications.

Other framework?

We are working on supporting more frameworks. Please, contact us if you are using a different framework. We will be happy to revisit our roadmap!

Ruby versions

The Sqreen Ruby agent is fully compatible with:

  • Ruby 1.9.3 to 2.6.x

Ruby frameworks

The Ruby agent is fully compatible with:

  • Rails 3 to 5
  • Sinatra 1.4.x

Sqreen provides the most complete protection to Rails applications.

Operating systems

The Sqreen Ruby agent is supported on:

  • Linux (including Alpine)
  • macOS
  • Solaris (x86-64 architecture and GCC 4.9+)

If you encounter installation issues with Alpine, run apk add build-base.

Servers

Sqreen is tested against the following servers:

Puma may display the following message during your application startup:

"Detected 1 Thread(s) started in app boot".

This is expected and correctly handled by the Sqreen agent.

Databases

Sqreen protects against SQL and NoSQL injections for the most common production databases:

  • MySQL
  • MariaDB
  • PostgreSQL
  • SQLite
  • Oracle
  • MongoDB

Other database?

Please, contact us if you are using a different database. We will be happy to revisit our roadmap!

Templating engines

Protection against cross-site scripting attacks (XSS) is available for the most widespread templating engines in Ruby, including:

  • ERB
  • HAML
  • Slim

Other templating engine?

Please, contact us if you are using a different templating engine. We will be happy to revisit our roadmap!

Automatic User Context in Ruby

Using the Ruby SDK with Sqreen automatically detects and protects user accounts when your application is based on the Devise framework, with DatabaseAuthenticatable strategy. You can find more information in the Ruby SDK for user monitoring section.