Navigation
This version of the documentation is archived and no longer supported.

Installation

The Ruby driver is bundled as a gem and is hosted on Rubygems.

Install the gem

The driver can be installed manually or with bundler.

To install the gem manually:

gem install mongo

To install the gem with bundler, include the following in your Gemfile:

gem 'mongo', '~> 2.2'