Skip to content

Commit

Permalink
minor: update README with info on installing from Gemcutter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dirolf committed Oct 5, 2009
1 parent 3f6a3b8 commit dd15296
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.rdoc
Expand Up @@ -22,13 +22,15 @@ interface to Mongo's GridFS storage.

= Installation

Install the "mongo" gem by typing
The driver's gems are hosted on Gemcutter[http://gemcutter.org]. If you haven't
installed a gem from Gemcutter before you'll need to set up Gemcutter first

$ gem sources -a http://gems.github.com
$ sudo gem install mongodb-mongo
$ gem install gemcutter
$ gem tumble

The first line tells RubyGems to add the GitHub gem repository. You only need
to run this command once.
If (or once) you have Gemcutter setup, install the "mongo" gem by typing

$ gem install mongo

=== From the GitHub source

Expand All @@ -39,16 +41,13 @@ you can install it as a gem from the source by typing

$ rake gem:install

Note: when you install the gem this way it is called "mongo", not
"mongodb-mongo". In either case, you "require 'mongo'" in your source code.

=== Optional C Extension

There is a separate gem containing optional C extensions that will increase the
performance of the driver. To use the optional extensions just install the gem
by typing

$ sudo gem install mongodb-mongo_ext
$ gem install mongo_ext

To install from source type this instead

Expand Down

0 comments on commit dd15296

Please sign in to comment.