Before continuing you should ensure you have a working Ruby environment up and running. We recommend the following:
Ruby 1.9.2 or 1.8.7 http://ruby-lang.org
Rubygems 1.8.15 https://rubygems.org
You can verify that Ruby and RubyGems are installed by typing the following commands:
shell> ruby -vand
shell> gem --versionThe 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