Ruby script to perform timelapse photography using a Raspberry Pi and a Pi camera