On 2011-05-31, at 18:14, Evan Phoenix wrote:

>> Thank you for your answer. I thought this might be the right place in case 
>> there was a need to define a new platform or OS for RubyGems.
> You don't need rubygems itself to define a platform, it allows anything and 
> validates it against what ruby -v indicates.

And if I am on OS X, but want to fetch gems for JRuby or Ruboto, I might use 
the "--platform java" or "--platform ruboto" options to get the desired gem 
variants?  Can I use both?

>> I am a developer in the Ruboto project. We seek information on how to enable 
>> users of Ruboto to both relase Ruboto-specific gems and comsume gems in 
>> Ruboto projects. I was unable to find a mailing list for RubyGems users.
> I'm not clear on what you mean by this, but you can certainly set the 
> platform for a gem to be whatever platform is reported by ruby on android 
> (likely java because of jruby), in which case they'll be restricted to 
> installing on that platform.

OK, so setting spec.platform = 'ruboto' in the gemspec will make a gem that 
will not install on other platforms.  I will try this.

Thank you for your help.

--
Uwe Kubosch
Systems Developer
Datek Wireless AS
u...@datek.no
http://datek.no/


_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to