From 802e6d9a3faac251167ef7eab4f5b01615726f1c Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Thu, 19 Mar 2009 14:56:54 -0400 Subject: [PATCH] update README w/ info about installing extension --- README.rdoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rdoc b/README.rdoc index 1872a9d..3c89c18 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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