Added ruby and the code forked from Jeremy.