Before continuing you should ensure you have a working Ruby environment up and running. We recommend the following:
You can verify that Ruby and RubyGems are installed by typing the following commands:
shell> ruby -v
shell> gem --version
The Ruby version should be 1.8.7 or higher. Rubygems must be 1.3.6 or higher.
Install the package libevent.
Then install the Couchbase C Client library, libcouchbase
The next step is to install libvbucket which is also part of the Couchbase client library.
You may need to install rubygems as well, if not already installed.
Once you have Rubygems installed you can simply use it to install Couchbase as below.
shell> gem install couchbase