worked with Sonia C (@sconnolly) to fix path bug, was checking ruby path opposed to c string path and was inverting a comparison.