Correctly handle the case of gems without -