Skip to content

Instantly share code, notes, and snippets.

@jasonmelgoza
Forked from croaky/install-mongo.md
Created August 5, 2010 07:04
Show Gist options
  • Save jasonmelgoza/509375 to your computer and use it in GitHub Desktop.
Save jasonmelgoza/509375 to your computer and use it in GitHub Desktop.

download and un-tar

create db directory

mkdir -p /data/db

export mongo bin directory

export MONGO_BIN="/usr/local/mongodb/mongodb-osx-x86_64-1.4.4/bin"
export PATH="$PATH:$MONGO_BIN"

run mongo whenever you need to

mongod run

install the mongo gem from gemcutter

sudo gem install mongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment