[DRE-maint] Bug#836206: lolcat: shebang should not use env

Kazuhiro NISHIYAMA zn at mbf.nifty.com
Wed Aug 31 14:30:37 UTC 2016


Package: lolcat
Version: 42.0.99-1
Severity: normal

Dear Maintainer,

I use rbenv and install ruby to PATH before /usr/bin.
So "#!/usr/bin/env ruby" runs with ruby which does not have dependent packages (ruby-paint, ruby-trollop).

Actual result:
% lolcat /dev/null
/path/to/rbenv/versions/git/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- lolcat/version (LoadError)
        from /path/to/rbenv/versions/git/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/games/lolcat:21:in `<main>'
%

Expected result:
% /usr/bin/ruby $(which lolcat) /dev/null
%

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lolcat depends on:
ii  ruby                        1:2.1.5+deb8u2
ii  ruby-paint                  0.8.6-1
ii  ruby-trollop                2.0-2
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u2

lolcat recommends no packages.

lolcat suggests no packages.

-- no debconf information



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