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. I will also send a patch for lintian, so that it checks for 'ruby | ruby-interpreter' instead of just 'ruby'. -- Antonio Terceiro <[email protected]> http://softwarelivre.org/terceiro
signature.asc
Description: Digital signature

