Use the appropriate gemDir when setting the PATH env variable

Fixes #70