Bug #7160

"gem rdoc" command outputs a wealth of warnings

Added by Marvin Gülker over 1 year ago. Updated over 1 year ago.

[ruby-core:47977]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:-
ruby -v:ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux] Backport:

Description

=begin
The (({gem rdoc})) command outputs an insane number of warnings:

% sudo gem rdoc --overwrite sinatra
NOTE: Gem::SourceIndex.frominstalledgems is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.frominstalledgems called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/commands/rdoccommand.rb:64.
NOTE: Gem::SourceIndex.installedspecdirectories is deprecated, use Specification.dirs. It will be removed on or after 2011-11-01.
Gem::SourceIndex.installedspecdirectories called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:47.
NOTE: Gem::SourceIndex.fromgemsin is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.fromgemsin called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:47.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:67.
NOTE: Gem::SourceIndex#specdirs= is deprecated, use Specification.dirs=. It will be removed on or after 2011-11-01.
Gem::SourceIndex#spec
dirs= called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:94.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:95.
NOTE: Gem::SourceIndex#loadgemsin is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#loadgemsin called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:322.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#addspec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#addspec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#add
spec is deprecated, use Specification.addspec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add
spec called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/sourceindex.rb:127.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/rubies/ruby-1.9.3-p286/lib/ruby/siteruby/1.9.1/rubygems/commands/rdoccommand.rb:64.
Installing ri documentation for sinatra-1.3.3...
Installing RDoc documentation for sinatra-1.3.3...

Although these are only warnings, they should probably be fixed, because according to the message the used API is obsolete since nearly a year now.

  • RubyGems version: 1.8.24
  • OS: Arch Linux
  • Gem env:

    % gem env
    RubyGems Environment:

    • RUBYGEMS VERSION: 1.8.24
    • RUBY VERSION: 1.9.3 (2012-10-12 patchlevel 286) [x86_64-linux]
    • INSTALLATION DIRECTORY: /opt/rubies/ruby-1.9.3-p286/lib/ruby/gems/1.9.1
    • RUBY EXECUTABLE: /opt/rubies/ruby-1.9.3-p286/bin/ruby
    • EXECUTABLE DIRECTORY: /opt/rubies/ruby-1.9.3-p286/bin
    • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
    • GEM PATHS:
    • /opt/rubies/ruby-1.9.3-p286/lib/ruby/gems/1.9.1
    • /home/quintus/.gem/ruby/1.9.1
    • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • "install" => "--format-executable"
    • "update" => "--format-executable"
    • REMOTE SOURCES:
    • http://rubygems.org/

Vale,
Marvin
=end

History

#1 Updated by Eric Hodel over 1 year ago

  • Category set to lib
  • Status changed from Open to Closed
  • Assignee set to Eric Hodel

This is fixed but unreleased

Also available in: Atom PDF