minor: update README with info on installing from Gemcutter

This commit is contained in:
Mike Dirolf 2009-10-05 10:43:57 -04:00
parent 3f6a3b83c2
commit dd152967b0
1 changed files with 8 additions and 9 deletions

View File

@ -22,13 +22,15 @@ interface to Mongo's GridFS storage.
= Installation = 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 $ gem install gemcutter
$ sudo gem install mongodb-mongo $ gem tumble
The first line tells RubyGems to add the GitHub gem repository. You only need If (or once) you have Gemcutter setup, install the "mongo" gem by typing
to run this command once.
$ gem install mongo
=== From the GitHub source === From the GitHub source
@ -39,16 +41,13 @@ you can install it as a gem from the source by typing
$ rake gem:install $ 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 === Optional C Extension
There is a separate gem containing optional C extensions that will increase the 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 performance of the driver. To use the optional extensions just install the gem
by typing by typing
$ sudo gem install mongodb-mongo_ext $ gem install mongo_ext
To install from source type this instead To install from source type this instead