[Rubygems-developers] Gems for several architectures

Jochen Topf jochen at remote.org
Fri Aug 31 15:56:22 EDT 2007


Hi!

Couldn't find any information about this. What is the right way to
handle gems for several architectures?

For the Proj4rb project 'rake gem' created those gems on Linux and Mac,
respectively:

    proj4rb-0.2.1-i486-linux.gem
    proj4rb-0.2.1-universal-darwin8.0.gem

Now on Linux when I do a

    gem install proj4rb

it pulls the darwin one instead of the linux one. Of course, I can do
a

    gem install proj4rb-0.2.1-i486-linux

and it will do the right thing, but shouldn't it do this automatically?

Maybe it has something to do with the darwin one beeing an universal
binary which works on i386 and PPC. So at the rubyforge release form
I said "any" for the platform.

Any ideas on what the right procedure is here?

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the Rubygems-developers mailing list