Table of Contents
Now that you've installed Couchbase and have probably created a cluster of Couchbase servers, it is time to install the client library library, and start manipulating the data.
Here's a quick outline of what you'll learn in this article:
Install the Ruby Couchbase Client (Gem) Dependencies Couchbase.
Write a more advanced program using Rails to connect, save and update data in couchbase
This section assumes that you have installed Couchbase Ruby SDK and you have installed the Couchbase server on your development machine. We assume you have at least one instance of Couchbase Server and one data bucket established. If you need to set up these items in Couchbase Server, you can do with the Couchbase Administrative Console, or Couchbase Command-Line Interface (CLI), or the Couchbase REST-API. For information and instructions, see:
Using the Couchbase Web Console, for information on using the Couchbase Administrative Console,
Couchbase CLI, for the command line interface,
Couchbase REST API, for creating and managing Couchbase resources.
After you have your Couchbase Server set up and you have installed the Couchbase SDK, you can compile and run the following basic program.