Hi Uwe, Your question is best answered by either people who work on Ruboto (I believe they have released a gem) or in a generic ruby mailing list. This list is for discussions about the development of rubygems software itself.
- Evan -- Evan Phoenix // e...@fallingsnow.net On Tuesday, May 31, 2011 at 7:31 AM, Uwe Kubosch wrote: > Hi all! > > I would like to write a tutorial on how to best release a gem for ruboto, > JRuby on Android. > > But I have no clue as to what is needed, yet. :) I have relased gems before, > but not platform specific gems, and not for Ruboto. Can you help me? What do > I need to do differently to limit installation to Ruboto projects? > > The installation itself is done only on the developer's platform. We are > currently using Bundler with a Gemfile that simply lists the desired gems. > The gems are then installed using Bundler in a separate gem directory using > "bundle install --path=<tmp_path_in_working_area>". After installation the > gems are packaged into a bundle.jar that is packaged and deployed inside the > Android app. > > The two features I know I am missing, is marking a gem as Ruboto-specific > (preferably with the same name as other variants of the same gem), and > limiting installation of gems to only include gems compatible with Ruboto. > The first feature is what I think is the most important. > > A concrete example would be that the Gemfile includes "gem 'json'" and that a > Ruboto specific version of the json gem is installed instead of C-extension > based or Java based variants of the json gem. > > It is not desirable to include the Ruboto specific implementation in the main > json gem, since we package the complete "lib" directory of the gem into the > apk (Android application package), and every KB counts. > > This is the first post from me on the subject, and indeed on this list, and I > hope you will forgive my ignorance and bad assumptions. Many thanks in > advance for any help you can give. > > > -- > 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