prawnpdf / ttfunk

Font Metrics Parser for Prawn
http://prawnpdf.org
Other
125 stars 75 forks source link

.gemspec file incompatible with ruby environment managers #103

Closed gl-yziquel closed 8 months ago

gl-yziquel commented 8 months ago

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.

gl-yziquel commented 8 months ago

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

pointlessone commented 8 months ago

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