[DRE-maint] Bug#543165: [libinline-ruby] inline.rb requires rubygems and zentest_mapping

Tobias Grimm tobias.grimm at e-tobi.net
Sat Aug 22 23:13:12 UTC 2009


Package: libinline-ruby
Version: 3.8.3-1
Severity: important

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

inline.rb requires rubygems and zenztest_mapping. These dependencies should
at least only be optionally loaded with "begin; require '...'; rescue LoadError; end"

Otherwise this happens:

ruby -e "require 'inline'"
/usr/lib/ruby/1.8/inline.rb:53:in `require': no such file to load -- rubygems (LoadError)
	from /usr/lib/ruby/1.8/inline.rb:53
	from -e:1:in `require'
	from -e:1

If you're going to load rubygems optionally instead of adding it to the dependencies,
please take also care of the Gem-usage in inline.rb and the usage of ZenTest,
which isn't available in Debian yet.

Besides this, I recommend to run the included unit tests at build time.

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

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

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


Package's Recommends field is empty.

Package's Suggests field is empty.










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