How to create, build and run an OTP application using Rebar
hg clone http://hg.basho.com/rebar/
./bootstrap ==> rebar (compile) Congratulations! You now have a self-contained script called "rebar" in your current working directory. Place this script anywhere in your path