Package: ruby Version: 4.4 Severity: normal I think that if some ruby apps expect that /usr/bin/ruby is really ruby1.8, so
a) these apps must be fixed b) if important apps aren't, squeeze must default to 1.8 You should consider that important libs (such as ruby-gnome2) isn't (AFAIK) ported yet to 1.9 anyway. Also, notice that making it a *option* to put ruby as ruby1.9.1 does not break any app (the user that wants to configure it is supposed to know better) If there are different library path for each version, these paths could theoretically enter into the alternatives rule. This is ugly. But the suffix problem isn't unique to ruby: it also happens in python, etc. So I think that there could be a general solution. (Hmmm. /usr/bin/python is a link to python2.5 here, without alternatives. Well..) Anyway, the alternatives system is working greatly for, hmm.. Java? And there are multiple versions of java out there.. I'm using this workaround: update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.8 400 \ --slave /usr/share/man/man1/ruby.1.gz ruby.1.gz \ /usr/share/man/man1/ruby1.8.1.gz \ --slave /usr/share/man/man1/ri.1.gz ri.1.gz \ /usr/share/man/man1/ri1.8.1.gz \ --slave /usr/share/man/man1/rdoc.1.gz rdoc.1.gz \ /usr/share/man/man1/rdoc1.8.1.gz \ --slave /usr/share/man/man1/irb.1.gz irb.1.gz \ /usr/share/man/man1/irb1.8.1.gz \ --slave /usr/bin/ri ri /usr/bin/ri1.8 \ --slave /usr/bin/irb irb /usr/bin/irb1.8 \ --slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.8 update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 500 \ --slave /usr/share/man/man1/ruby.1.gz ruby.1.gz \ /usr/share/man/man1/ruby1.9.1.1.gz \ --slave /usr/share/man/man1/ri.1.gz ri.1.gz \ /usr/share/man/man1/ri1.9.1.1.gz \ --slave /usr/share/man/man1/rdoc.1.gz rdoc.1.gz \ /usr/share/man/man1/rdoc1.9.1.1.gz \ --slave /usr/share/man/man1/irb.1.gz irb.1.gz \ /usr/share/man/man1/irb1.9.1.1.gz \ --slave /usr/bin/ri ri /usr/bin/ri1.9.1 \ --slave /usr/bin/irb irb /usr/bin/irb1.9.1 \ --slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.1 this defaults to 1.9.1, update-alternatives --config ruby will change it (hopefully this will help googlers) -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages ruby depends on: ii ruby1.8 1.8.7.249-2 Interpreter of object-oriented scr ruby recommends no packages. Versions of packages ruby suggests: ii irb 4.4 Interactive Ruby (irb) pn libopenssl-ruby <none> (no description available) pn rdoc <none> (no description available) ii ri 4.4 Ruby Interactive reference (ri) pn ruby-dev <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org