On Aug 26, 8:47=A0pm, Eric Hodel <drbr... / segment7.net> wrote:
> On Aug 26, 2009, at 08:12, Mark Moseley wrote:
>
> > Is there a way to build a gem in such a way so that dependencies can =
=A0
> > be
> > resolved at installation-time?
>
> > I want users to be able to "gem install ruby-debug-ide", and have the
> > ruby-debug-ide gem install either ruby-debug-base or ruby-debug-
> > base19,
> > depending on the version of Ruby that they're running.
>
> > I'm thinking maybe extconf.rb could do this, but just wanted to see if
> > anyone had any ideas.
>
> Why isn't ruby-debug-base "fat" (containing both 1.8 and 1.9 code)?
>
> See also:
>
> http://tenderlovemaking.com/2009/05/07/fat-binary-gems-make-the-rocki...

The approach Aaron took there has been integrated in rake-compiler
already, so is more easy now to generate fat binaries.

Cheers,
--
Luis Lavena