[DRE-maint] Bug#557534: [libinline-ruby] Uses Gem.* without requiring rubygems

Tobias Grimm tobias.grimm at e-tobi.net
Sun Nov 22 17:19:22 UTC 2009


Package: libinline-ruby
Version: 3.8.3-2
Severity: important
Tags: patch

--- Please enter the report below this line. ---

inline.rb uses Gem.ruby/Gem.bindir which of course doesn't work without rubygems installed.

/usr/lib/ruby/1.8/inline.rb:76: uninitialized constant Inline::Gem (NameError)
	from ./lib/parse_tree.rb:7:in `require'
	from ./lib/parse_tree.rb:7
	from ./test/test_parse_tree.rb:12:in `require'
	from ./test/test_parse_tree.rb:12
	from -e:1:in `require'
	from -e:1
	from -e:1:in `each'
	from -e:1

The whole RAKE constant can safely be dropped. Please see the attached patch.

Tobias

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.30-1-amd64

Debian Release: squeeze/sid
  500 testing         security.debian.org 
  500 testing         ftp.de.debian.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
libinline-ruby1.8                | 3.8.3-2


Package's Recommends field is empty.

Package's Suggests field is empty.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-dont-requires-rubygems.patch
Type: text/x-patch
Size: 1321 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20091122/1da45127/attachment.bin>


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