[DRE-maint] Bug#676248: ruby-commandline: Fails to do anything (even to fail) under Ruby 1.9.1

Gunnar Wolf gwolf at gwolf.org
Tue Jun 5 17:11:27 UTC 2012


Package: ruby-commandline
Version: 0.7.10-13
Severity: grave
Justification: renders package unusable

CommandLine::Application fails to work under Ruby 1.9.1, which is now
the default Ruby version in Debian. This makes any application built
on 1.9.1 die silently:

$ cat app2.rb
require 'commandline'
class App < CommandLine::Application
    def initialize
    end
    def main
        raise 'foo'
    end
end

$ ruby1.8 app2.rb --help
Unknown option '--help'.

 Usage: app2.rb
$ ruby1.8 app2.rb
ERROR: foo
$ ruby1.9.1 app2.rb --help
$ ruby1.9.1 app2.rb
$

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

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

Versions of packages ruby-commandline depends on:
ii  ruby                          4.9
ii  ruby-open4                    1.1.0-1
ii  ruby-text-format              1.0.0-3
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-4
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-1

ruby-commandline recommends no packages.

ruby-commandline suggests no packages.

-- debconf-show failed





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