[DRE-maint] Bug#649984: Bug#649984: rake: rake/rdoctask

Antonio Terceiro terceiro at debian.org
Fri Nov 25 12:34:47 UTC 2011


Hilko Bengen escreveu isso aí:
> Package: rake
> Version: 0.9.2.2-1
> Severity: serious
> 
> While trying to build a development version of libguestfs where I have
> building Ruby bindings enabled, I ran into the following error:
> 
> ,----
> | WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require 'rdoc/tas
> | k' (in RDoc 2.4.2+)' instead.
> |     at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
> | rake aborted!
> | uninitialized constant Gem
> `----
> 
> Following that advice (which I also found by searching the web for the
> error message) got me nowhere, however:
> 
> ,----
> | rake aborted!
> | no such file to load -- rdoc/task
> `----
> 
> ... which isn't that surprising as it's not available for Ruby:
> 
> ,----
> | $ ruby --version
> | ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
> | $ apt-file search /rdoc/task
> | libruby1.9.1: /usr/lib/ruby/1.9.1/rdoc/task.rb                        
> `----

The deprecation message is just a warning. The real problem is
"uninitialized constant Gem", which is a bug in the package.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20111125/b4c5eaeb/attachment.pgp>


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