Skip to main content

Installing the Aerospike Ruby Client

Use the Aerospike Ruby client to develop Ruby applications to store and retrieve data in the Aerospike database.


The Aerospike Ruby client requires Ruby version v1.9.3+, and supports MRI and Rubinious.

The Aerospike Ruby client implements the wire protocol. It does not depend on the C client. It is thread-safe and asynchronous.

Supported operating systems:

  • Major Linux distributions (Ubuntu, Debian, Redhat)
  • macOS
  • Windows (untested)


  1. Install Ruby 2.3.0 or later
  2. Install the gem:
gem install aerospike

Running Tests

The Aerospike Ruby client uses RSpec for testing.

To run all tests:

$ bundle exec rspec