rmongo

Ruby/Eventmachine driver for 10gen's object database Mongo

36
5
Ruby

Simple Ruby/EventMachine driver for 10gen’s object database Mongo
© 2008 Aman Gupta (tmm1)

To run mongo (on OSX):

git clone git://github.com/10gen/mongo
cd mongo/db

sudo port install boost pcre++

for i in system thread filesystem; do
sudo ln -s /opt/local/lib/libboost_${i}-mt.dylib /opt/local/lib/libboost_${i}.dylib
done

make clean
make CFLAGS=“-I/opt/local/include -L/opt/local/lib -lboost_system”

mkdir /tmp/data
./db --nojni --dbpath /tmp/data