add ruby support for testing purpose.