Couchbase Ruby SDK

The Couchbase Ruby SDK is a Python library wrapping the Couchbase C SDK. Before installing this library, the C library must be installed.

Current version

Currently, the latest version is 1.3. This SDK should be used for all development against Couchbase Server versions from 2.5 to 3.x.

How to obtain it

Ruby users can find the Couchbase Ruby SDK through the gem package manager as follows:

$ gem install couchbase

The basics

The following snippet demonstrates the basics of using the Couchbase PHP SDK:

client = Couchbase.connect(:bucket=>'default', :host=>'localhost') 

Get Couchbase Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.