add ruby c file