Hi there, I have set up scripts [1] that automatically generate Debian packages (*.deb) from gems (*.gem) in rubyforge.org. They are available at deb http://people.debian.org/~daigo/deb experimental/ deb-src http://people.debian.org/~daigo/deb experimental/ I know this is not complete at all, but it just works.
The Debian package generated is named rubygems-<gem_name>.deb and wraps the gem. Installing it by aptitude (apt-get) is very equal to installing the gem by the rubygems package in Debian (i.e. gem install <gem_name>), meaning that all of the files are installed in /var/lib/gems. You might expect that library files and executables go to /usr/lib/ruby/1.8 and /usr/bin respectively and so forth. This can not be done automatically as of now. Pure ruby gems are converted fine. However, ones including C extensions are not, because Debian libraries on which the gem build-depends have to be written in the control file in a manual way. [1] http://alioth.debian.org/projects/pkg-ruby-extras/ They exist in pkg-ruby-extras's svn repository (tools/gemsd/*). Thanks to Akira Yamada who made dh_rubygems.rb to convert a gem to a deb and Marcus Rueckert who made a patch for rubygems --build-root option [ http://rubyforge.org/pipermail/rubygems-developers/2006-June/002010.html]. Yours, Daigo -- Daigo Moriwaki daigo at debian dot org beatles at sgtpepper dot net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]