"frozen gems" with "payload" information

Hi.

I have written a small gem that contains a PEM file with the root
certificates of the major certificate authorities. The library needs
this to check whether the remote side is trustworthy. This PEM file is
in /var/cacert.pem and my code lives in /lib.

Now, I tried to “freeze” the gem by copying the files of it into the
directory “RAILS_ROOT/lib” but of course the cacert.pem file is
“missing” since the gem tries to find it relative to the including
files.

So my question is how to resolve this most elegantly: Put the
cacert.pem file into my lib directory? Or is there another way to
“freeze” a gem? Seemingly, copying the library to “RAILS_ROOT/vendor”
only works for rails itself.

Regards,

Manuel