[DRE-maint] Writing a user friendly guide on how to package Ruby applications for Debian

Declan McGrath declan at divilment.com
Wed Aug 26 14:40:56 UTC 2009


Thanks for that link Ondrej

Hmm... I'm reading about using setup.rb at http://cdbs-doc.duckcorp.org/en/cdbs-doc.xhtml#id491051

I don't actually have a debian/rules file yet so that's a bad start :-)

I have been trying to follow the start of this guide http://ubuntuforums.org/showthread.php?t=51003 as well in order to get things like a debian/rules file in place. But I can't see how using that approach fits together with setup.rb.

What I really need first up is to know what directory structure I should have for my application before even attempting the install. And more importantly what directories each part of my Ruby app should end up in after the install?

Declan


On Wednesday 26 August 2009 14:21:44 Ondřej Surý wrote:
> I just joined pkg-ruby team, so I'll comment only generic packaging things.
> 
> > I'm writing a guide (and learning how to do it at the same time!) on how to package Ruby applications for the Debian package format at http://techbase.kde.org/Development/Tutorials/Deploying_Qt_Ruby_Applications_as_a_Debian_packages_for_Kubuntu and have the following questions
> >
> > 1.) I have installed ruby-pkg-tools but have no idea what to do with it. I do not understand this page http://pkg-ruby-extras.alioth.debian.org/ruby-pkg-tools/cdbs.html
> >
> > Any pointers?
> 
> http://cdbs-doc.duckcorp.org/
> 
> > 3.) Also, is /usr/local/lib/site_ruby/1.8/ the correct location for ruby library files belonging to an application to live in?
> >
> > Perhaps I should be using some kind of symlink trickery. In any case, any help greatly appreciated.
> 
> Definitely not. No package is allowed to put anything into /usr/local
> (that applies for any package, not just ruby).
> 
> Ondrej




More information about the Pkg-ruby-extras-maintainers mailing list