try to build ruby if needed