prawnpdf/ttfunk

.gemspec file incompatible with ruby environment managers

gl-yziquel opened this issue · 2 comments

The gem build ttfunk.gemspec command fails because of the following line:

https://github.com/prawnpdf/ttfunk/blob/master/ttfunk.gemspec#L14

It looks up the signing key in a location that is incompatible with an system based on ruby environment managers such as rvm or rbenv.

It triggers the following error:

ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ rb_sysopen - /home/mini-me/.gem/gem-private_key.pem

Maybe it would make sense to gate this feature behind the invocation of some option or flag.

Oh. It's fixed in the version I pulled. Sorry. Closing.

Ah, good. Because for a minute I was really puzzled looking at the code in the repo.