[Rubygems-developers] How to bundle up MS Windows version separately

Trans transfire at gmail.com
Fri Nov 9 19:23:02 EST 2007

On Nov 9, 2007 5:31 PM, Eric Hodel <drbrain at segment7.net> wrote:
> On Nov 5, 2007, at 07:02 , Luis Lavena wrote:
> >> I wish we had unified packages, though, rather then having to create
> >> separate packages for each platform.
> >>
> >
> > The problem will that will be how identify extensions compiled for
> > windows, linux or darwin, all in the same package.
> >
> > Kernel#require is not clever as rubygems require version to find the
> > matching -mswin32 or -darwin or -bsd version of the specific
> > extension.
> At RubyConf, we (RubyGems & ruby-core members) decided moving away
> from modifying Kernel#require was a good thing.
> Besides, there are plenty of tools to completely automate every step
> of releasing a gem.  If you're doing it right, releasing a platform
> gem is as easy as `rake release`.

Yes. I've reconsidered my position. I think a platform gem is a rather
special case. For instance a Windows binary, b/c Windows often lacks
the needed compile tools. But on most other systems it seems
unccessary.  Is that a fair assessment?


More information about the Rubygems-developers mailing list