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 are 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

Sqreen supports the Ruby agent on the following servers:

  • 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 tests the Sqreen agent against the following servers:

Puma may display the following message during your application startup:

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

The Sqreen agent expects this, and handles it.

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 are 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 are happy to revisit our roadmap!

Automatic user context in Ruby

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