[Rubygems-developers] Question on platform, x64

Berger, Daniel Daniel.Berger at qwest.com
Wed Feb 11 09:44:41 EST 2009


 
> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org 
> [mailto:rubygems-developers-bounces at rubyforge.org] On Behalf 
> Of Daniel Berger
> Sent: Thursday, February 05, 2009 5:41 PM
> To: rubygems-developers at rubyforge.org
> Subject: Re: [Rubygems-developers] Question on platform, x64

<snip>

> Hm, I noticed the Java gems come out as "universal-java-xxx". 
> That gives me an idea.
> 
> How about this - we add Gem::Specification#universal. It 
> could be false by default, but if set to true it would result 
> in a gem tagged as universal. So, instead of 
> "mygem-1.0.0-x86-linux.gem" it would be 
> "mygem-1.0.0-universal-linux.gem".
> 
> Folks on a Linux platform who do "gem install my-gem" would 
> get the architecture specific gem if there is one. If there 
> isn't one, it would fall back to the "universal" gem for that 
> platform. If there isn't a universal gem, then fall back to 
> the standard gem.
> 
> Does that seem reasonable?

We could instead use "generic" if we wanted to avoid any confusion with Jruby.

Regards,

Dan


More information about the Rubygems-developers mailing list