[DRE-maint] Bug#788051: asciidoctor: tries to load modules from non-existent directory on start-up
Chuan-kai Lin
cklin at debian.org
Mon Jun 8 06:02:16 UTC 2015
Package: asciidoctor
Version: 1.5.2-1
Severity: grave
Tags: patch
Justification: renders package unusable
Hi,
The asciidoctor program aborts on start-up with the following error:
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /usr/bin/../lib/asciidoctor (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/bin/asciidoctor:5:in `<main>'
It looks like the program tries to load the asciidoctor module from a directory
that does not exist. The offending line in /usr/bin/asciidoctor is:
require File.join File.dirname(__FILE__), '../lib/asciidoctor'
Changing that line to the following fixes the problem:
require 'asciidoctor'
Thanks,
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-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
Init: systemd (via /run/systemd/system)
Versions of packages asciidoctor depends on:
ii ruby 1:2.1.5+z
ii ruby2.1 [ruby-interpreter] 2.1.5-3
asciidoctor recommends no packages.
Versions of packages asciidoctor suggests:
pn asciidoc <none>
pn asciidoctor-doc <none>
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list