build ruby gem and test