check ruby package before install