Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 489 Bytes
Simple Ruby/EventMachine driver for 10gen's object database Mongo
(c) 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