[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: on the correct dependency for packages with scripts using /usr/bin/ruby

On 09/05/11 at 13:28 -0700, Antonio Terceiro wrote:
> Lucas Nussbaum escreveu isso aí:
> > There are two cases:
> > - packages that only work with a specific version of Ruby, e.g ruby1.8.
> >   Those must use /usr/bin/ruby1.8 in shebangs, and depend on ruby1.8
> > - packages that work with any ruby implementation.
> >   Those must use /usr/bin/ruby in shebangs, and depend on
> >   ruby | ruby-interpreter
> > 
> > So yes, you are correct: what gem2deb currently generates is suboptimal
> > (though not a serious problem right now).
> ok, I've updated the wiki and the policy draft accordingly.
> I've also changed gem2deb to generate 'ruby | ruby-interpreter' by
> default, and to respect the declared supported Ruby versions when
> rewriting shebangs.
> I'm willing to upload a new gem2deb version with those changes, unless
> you tell me not to.

Please upload, thanks a lot for those changes.

- Lucas

Reply to: