[Rubygems-developers] Binary gems or extension source - which and how?
luislavena at gmail.com
Wed May 21 21:09:23 EDT 2008
On Wed, May 21, 2008 at 9:55 PM, Clifford Heath
<clifford.heath at gmail.com> wrote:
> I've used newgem to build a gem that's a simple wrapper for the wbxml
> and I'm not sure how to publish it. My Manifest includes the ext files,
> extconf.rb, but since newgem & hoe build the gemspec file on the fly, I
> been able to work out how to arrange for the extension to be built on
> Can someone give me some pointers please? The reference is too detailed,
> I'm looking for a recipe if possible.
You need to tweak somehow the spec Hoe generates inside the Hoe.new
AFAIK, right now Hoe is not able to handle normal C extensions, only
inlined ones (the ones generated via RubyInline).
I think Aslak Hellesoy published something related to this subject:
> Also, what support does gems provide for the naming procedure for binary
> files? If I want to publish platform-specific binary gems in addition to the
> version, what's the procedure?
rubygems itself append the platform specific to the end part of the
filename it generates:
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
More information about the Rubygems-developers