See below. -- Evan Phoenix // e...@fallingsnow.net
On Tuesday, May 31, 2011 at 9:40 AM, Uwe Kubosch wrote: > 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? Yes, but you should generally not use the rubygems platform specifier to restrict users from using the gem unless it contains platform specific code. So if the gems work fine NOT on android, they should just be normal gems. > > > > 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. Give it a shot, but we generally don't recommend this path unless there is platform specific code in the gem. If this does work out for you, let us know. > > Thank you for your help. > > -- > Uwe Kubosch > Systems Developer > Datek Wireless AS > u...@datek.no (mailto:u...@datek.no) > http://datek.no/ > > > _______________________________________________ > Rubygems-developers mailing list > http://rubyforge.org/projects/rubygems > Rubygems-developers@rubyforge.org (mailto:Rubygems-developers@rubyforge.org) > http://rubyforge.org/mailman/listinfo/rubygems-developers _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers