use gem-path to locate bin directory. fixes #1