On 11/5/07, Trans <transfire at gmail.com> wrote:
> >
> > Yes, the upcoming 0.9.5 will provide auto-platform matching, so if the
> > pre-built gem for the matching platform is available, will use it
> > instead of the RUBY (source version) one.
>> That's good.
>> 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.
having something like:
http11-x86-mswin32-60.so
http11-x86-linux.so
http11-x86-darwin-8.so
Will not help either, instead will create huge packages.
So far, this solution is quite similar to Python distutils way of
packaging for specific platforms.
Is not the most beautiful one, but works :-)
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi