[DRE-maint] Bug#698214: ruby-diff-lcs: diff-lcs isn't listed by gem list
Marc Fournier
marc.fournier at camptocamp.com
Tue Jan 15 09:56:06 UTC 2013
Package: ruby-diff-lcs
Version: 1.1.3-1
Severity: normal
Dear Maintainer,
When running "gem list", diff-lcs isn't listed, which causes a
Gem::LoadError when running stuff which requires 'diff/lcs'. Example:
$ rake spec
/usr/bin/ruby1.9.1 -S rspec spec/classes/collectd_package_spec.rb
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find diff-lcs (~> 1.1.3) amongst [...long list of gems...] (Gem::LoadError)
Manually creating
/usr/share/rubygems-integration/1.9.1/specifications/diff-lcs-1.1.3.gemspec
and
/usr/share/rubygems-integration/1.8/specifications/diff-lcs-1.1.3.gemspec
solves the problem.
$ apt-cache policy ruby-diff-lcs
ruby-diff-lcs:
Installed: 1.1.3-1
Candidate: 1.1.3-1
Version table:
*** 1.1.3-1 0
500 http://http.debian.net/debian/ testing/main amd64 Packages
500 http://http.debian.net/debian/ unstable/main amd64 Packages
100 /var/lib/dpkg/status
$ dpkg -L ruby-diff-lcs | grep -c rubygems-integration
0
Curiously, when I "apt-get source" the package and rebuild it, the
resulting package *does* contain the 2 gemspec files. So the problem
seems to have been fixed at some point. Maybe the package just needs to
be rebuilt and updated on the mirrors ?
FWIW, I seem to have much more ruby-* packages installed on my system
than the total count of gemfiles installed:
$ dpkg -l | grep ruby- | grep ^ii | wc -l
187
$ ls /usr/share/rubygems-integration/1.8/specifications/ | wc -l
96
Thanks !
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ruby-diff-lcs depends on:
ii ruby1.8 [ruby-interpreter] 1.8.7.358-6
ii ruby1.9.1 [ruby-interpreter] 1.9.3.194-5
ruby-diff-lcs recommends no packages.
ruby-diff-lcs suggests no packages.
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list