switch gemPath to a String