update README w/ info about installing extension

This commit is contained in:
Mike Dirolf 2009-03-19 14:56:54 -04:00
parent 595a9464bb
commit 802e6d9a3f
1 changed files with 13 additions and 0 deletions

View File

@ -48,6 +48,19 @@ you can install it as a gem from the source by typing
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
To install from source type this instead
$ rake gem:install_extensions
That's all there is to it!
= Examples