Updated to use new ruby gem