Add ruby thread