Forum: Ruby-core [ruby-trunk - Bug #7160][Open] "gem rdoc" command outputs a wealth of warnings

Posted by Marvin Gülker (quintus)
on 2012-10-14 19:48
(Received via mailing list)
Issue #7160 has been reported by Quintus (Marvin Gülker).

----------------------------------------
Bug #7160: "gem rdoc" command outputs a wealth of warnings
https://bugs.ruby-lang.org/issues/7160

Author: Quintus (Marvin Gülker)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]


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

 % sudo gem rdoc --overwrite sinatra
 NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
 Gem::SourceIndex.from_installed_gems called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/commands/rdoc_command.rb:64.
 NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use 
Specification.dirs. It will be removed on or after 2011-11-01.
 Gem::SourceIndex.installed_spec_directories called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:47.
 NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. 
It will be removed on or after 2011-10-01.
 Gem::SourceIndex.from_gems_in called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/source_index.rb:67.
 NOTE: Gem::SourceIndex#spec_dirs= 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/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/source_index.rb:95.
 NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. 
It will be removed on or after 2011-11-01.
 Gem::SourceIndex#load_gems_in called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:322.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/commands/rdoc_command.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
Posted by drbrain (Eric Hodel) (Guest)
on 2012-10-14 21:00
(Received via mailing list)
Issue #7160 has been updated by drbrain (Eric Hodel).

Category set to lib
Status changed from Open to Closed
Assignee set to drbrain (Eric Hodel)

This is fixed but unreleased
----------------------------------------
Bug #7160: "gem rdoc" command outputs a wealth of warnings
https://bugs.ruby-lang.org/issues/7160#change-30654

Author: Quintus (Marvin Gülker)
Status: Closed
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: lib
Target version:
ruby -v: ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]


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

 % sudo gem rdoc --overwrite sinatra
 NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
 Gem::SourceIndex.from_installed_gems called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/commands/rdoc_command.rb:64.
 NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use 
Specification.dirs. It will be removed on or after 2011-11-01.
 Gem::SourceIndex.installed_spec_directories called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:47.
 NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. 
It will be removed on or after 2011-10-01.
 Gem::SourceIndex.from_gems_in called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/source_index.rb:67.
 NOTE: Gem::SourceIndex#spec_dirs= 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/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/source_index.rb:95.
 NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. 
It will be removed on or after 2011-11-01.
 Gem::SourceIndex#load_gems_in called from 
/opt/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:322.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.rb:127.
 NOTE: Gem::SourceIndex#add_spec is deprecated, use 
Specification.add_spec. 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/site_ruby/1.9.1/rubygems/source_index.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/site_ruby/1.9.1/rubygems/commands/rdoc_command.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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.