[DRE-maint] Bug#623768: rubygems1.8: ruby does not search for packages installed in /var/lib/gems/1.8
Vincent Bernat
bernat at debian.org
Fri Apr 22 20:36:05 UTC 2011
Package: rubygems1.8
Version: 1.6.2-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I just tried to install a gem:
# aptitude install rubygems1.8
# gem install kramdown
$ irb
irb(main):001:0> require 'kramdown'
LoadError: no such file to load -- kramdown
from (irb):1:in require'
from (irb):1
from :0
With strace:
stat("/usr/local/lib/site_ruby/1.8/kramdown.rb", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/local/lib/site_ruby/1.8/kramdown.so", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/local/lib/site_ruby/1.8/x86_64-linux/kramdown.rb",
0x7fffffe10ff0) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/site_ruby/1.8/x86_64-linux/kramdown.so",
0x7fffffe10ff0) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/site_ruby/kramdown.rb", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/local/lib/site_ruby/kramdown.so", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/1.8/kramdown.rb", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/1.8/kramdown.so", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/kramdown.rb",
0x7fffffe10ff0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/kramdown.so",
0x7fffffe10ff0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/kramdown.rb", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/lib/ruby/vendor_ruby/kramdown.so", 0x7fffffe10ff0) = -1
ENOENT (No such file or directory)
stat("/usr/lib/ruby/1.8/kramdown.rb", 0x7fffffe10ff0) = -1 ENOENT (No
such file or directory)
stat("/usr/lib/ruby/1.8/kramdown.so", 0x7fffffe10ff0) = -1 ENOENT (No
such file or directory)
stat("/usr/lib/ruby/1.8/x86_64-linux/kramdown.rb", 0x7fffffe10ff0) =
- -1 ENOENT (No such file or directory)
stat("/usr/lib/ruby/1.8/x86_64-linux/kramdown.so", 0x7fffffe10ff0) =
- -1 ENOENT (No such file or directory)
stat("./kramdown.rb", 0x7fffffe10ff0) = -1 ENOENT (No such file or
directory)
stat("./kramdown.so", 0x7fffffe10ff0) = -1 ENOENT (No such file or
directory)
It seems that ruby does not search in /var/lib/gems...
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rubygems1.8 depends on:
ii ruby1.8 1.8.7.334-4 Interpreter of object-oriented scr
Versions of packages rubygems1.8 recommends:
ii build-essential 11.5 Informational list of build-essent
ii ruby1.8-dev 1.8.7.334-4 Header files for compiling extensi
Versions of packages rubygems1.8 suggests:
pn rubygems-doc <none> (no description available)
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk2x5rEACgkQKFvXofIqeU7p7wCgi9tNe1YdNi+uexnEeYlttg7T
h+UAnA8IvK/3uxJzhTuC6sm+PGSIQevY
=xXNx
-----END PGP SIGNATURE-----
More information about the Pkg-ruby-extras-maintainers
mailing list