Memcache is a great way to store session data in Rails. It is easy to install on Linux (sudo apt-get install memcached), but how about on Mac OS Snow Leopard? Follow these directions and you should be up and going:
$ curl -O http://www.monkey.org/~provos/libevent-1.4.12-stable.tar.gz $ tar xzvf libevent-1.4.12-stable.tar.gz $ cd libevent-1.4.12-stable $ ./configure $ make $ make verify $ sudo make install
$ curl -O http://memcached.googlecode.com/files/memcached-1.4.1.tar.gz $ tar xzvf memcached-1.4.1.tar.gz $ cd memcached-1.4.1 $ ./configure $ make $ make test $ sudo make install
$ memcached -d -P pidfile -l 127.0.0.1

Alternative:
* Install Homebrew ( http://github.com/mxcl/homebrew )
* brew install memcached
* enjoy!
I was wondering if you had an opinion on installing the MacPorts version. I like that route to manage packages, but it’s not always the best way.
sudo port install memcached @1.2.6 (or whatever version you need/desire)
hey
That’s great post
It’s work on my computer
onece again
Thanks
This is a great post and it helped me a so much to get memcached installed and running on my new computer. Getting everything running on Snow Leopard and my new mac has been troubling. Your blog post made it easier. Thank you Nicholas!!!
Adam — thanks for the brew tip!
It rocks!