[DRE-maint] Bug#673166: gem2deb: installs ruby version specific .rb files in the vendor dir

Paul van Tilburg paulvt at debian.org
Wed May 16 15:10:20 UTC 2012


Package: gem2deb
Version: 0.2.13
Severity: normal

Hi!

When XS-Ruby-Versions is set to ruby1.8, gem2deb/dh_ruby still installs .rb
files to /usr/lib/ruby/vendor_ruby.  (See for example ruby-pcap 0.7.0-1.)
As a result, when ruby1.9.1 is used to load the library, it can actually
find it.  Only when it also ships a .so file, it is out of the load path
of ruby1.9.1 (namely /usr/lib/ruby/vendor_ruby/1.8/<arch>).

gem2deb/dh_ruby should install .rb files to /usr/lib/ruby/vendor_ruby/1.8/
if XB-Ruby-Versions is set to 1.8.  The symmetric case holds for ruby1.9.1.

Cheers,
Paul

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gem2deb depends on:
ii  build-essential         11.5
ii  debhelper               9.20120513
ii  devscripts              2.11.7
ii  perl                    5.14.2-10
ii  ruby1.8                 1.8.7.358-2
ii  ruby1.8-dev             1.8.7.358-2
ii  ruby1.9.1               1.9.3.0-2.1
ii  ruby1.9.1-dev           1.9.3.0-2.1
ii  rubygems [rubygems1.8]  1.8.15-1
ii  rubygems1.8             1.8.15-1

gem2deb recommends no packages.

gem2deb suggests no packages.

-- no debconf information





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