Adding Ruby source, ugly I know