Search
Blog Index
The journal that this archive was targeting has been deleted. Please update your configuration.
Navigation
Wednesday
Jul112012

Installing memcached on Moutain Lion - and getting to work with jruby and rails

Based on http://readystate4.com/2012/03/15/installing-memcached-on-os-x-10-7-3-lion-on-mamp

Libevent Build and Install

curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz

tar -xvzf libevent-2.0.19-stable.tar.gz

cd libevent-2.0.19-stable

./configure

make

sudo make install

Compile memcached

curl -O http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz

tar zxvf memcached-1.4.13.tar.gz

./configure

make

sudo make install

Create .bash_profile alias to start memcached as needed

alias m="memcached -d -m 24 -p 11211"

Install Dalli - dalli install

gem install dalli require 'dalli' dc = Dalli::Client.new('localhost:11211') dc.set('abc', 123) value = dc.get('abc')

Wednesday
Jul112012

memcachd on Mountain Lion

Based on http://readystate4.com/2012/03/15/installing-memcached-on-os-x-10-7-3-lion-on-mamp

Libevent Build and Install

curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz

tar -xvzf libevent-2.0.19-stable.tar.gz

cd libevent-2.0.19-stable

./configure

make

Sudo make install

Compile memcached

curl -O http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz

tar zxvf memcached-1.4.13.tar.gz

./configure

Make

cd memcached-1.4.13

Monday
Jul092012

Wales 2012 Trip

Here's some selected images from our Wales trip. Loads more if you want to see them!

Sunday
Jul082012

A dub-a-day

According to Elizabeth, this is called a-dub-a-day she's been fairly adamant about this all week so I guess she's right!

I think it might be some sort of Alder tree (from looking at the tree id app (http://www.isoperla.co.uk/TreeIdiPhone.html) but if anyone can tell us the right name I'll make sure Elizabeth learns it correctly!

Friday
Jul062012

I want to be a Farmer - Oo Ar