Is it possible to include files in rubygems that are neither .rb nor
documentation files? I would like to publish Mozilla’s cacert.pem in
my gem but seemingly, rubygems does not include the pem file in the
build gem.
You can find the Rakefile used to build the gem here:
Is it possible to include files in rubygems that are neither .rb nor
documentation files? I would like to publish Mozilla’s cacert.pem in
my gem but seemingly, rubygems does not include the pem file in the
build gem.
You can find the Rakefile used to build the gem here:
On Sat, Feb 17, 2007 at 05:40:06AM +0900, Manuel H. wrote:
Feel free to take a look at the Rakefile for keybox, I have a ‘data’
directory that gets included. FileList is your friend.
Here’s a patch to google4r HEAD that I think does what you want.
You’ll probably want to take advantage of spec.rdoc_options to make sure
that when the rdoc is generated from the gem that your ‘README’ is the
main document.
You’ll probably want to take advantage of spec.rdoc_options to make
sure
that when the rdoc is generated from the gem that your ‘README’ is the
main document.
You can also add a task :debug_gem (from hoe) which can help debug
issues.
Or you could just use Hoe and let somebody else (me) take care of
these things.
Thank you all for your kind suggestions - they all solve my problem =)
I will certainly have a look at Hoe since it seems to be what I am
trying to duplicate (although I could not find much documentation on
it on the net).
Kind Regards,
Manuel
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.