[DRE-maint] Bug#781835: ruby-sourcify: raises NoMethodError: undefined method `[]' for nil:NilClass

Tomasz Buchert tomasz at debian.org
Fri Apr 3 15:50:02 UTC 2015


Package: ruby-sourcify
Version: 0.5.0-2
Severity: important

Hi,
the version in Debian cannot sourcify the following, rather trivial code:

  require 'sourcify'
  l = lambda {puts "Hi!"}
  puts l.to_source

(see https://github.com/ngty/sourcify/issues/28)

It seems that it is triggered by the quotes in the lambda: if you replace
them with single quotes, it seems to be just fine. As double quotes are often
used, this is a major drawback. Please consider making this bug RC for this
reason.

Tomasz



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages ruby-sourcify depends on:
ii  ruby                          1:2.1.5
ii  ruby-file-tail                1.1.0-1
ii  ruby-parser                   3.6.2-1
ii  ruby-ruby2ruby                2.0.7-1
ii  ruby-sexp-processor           4.4.4-1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.0 [ruby-interpreter]    2.0.0.484+really457-3
ii  ruby2.1 [ruby-interpreter]    2.1.5-1

Versions of packages ruby-sourcify recommends:
pn  ruby-parsetree  <none>

ruby-sourcify suggests no packages.

-- no debconf information



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