gem test is giving me "Gem.source_index is deprecated" warnings whenever it's run. Using RVM, MRI 1.8.7, MRI 1.9.2, and REE 1.8.7.
Example:
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76.
NOTE: Gem::SourceIndex#find_name is deprecated, use Specification.find_by_name. It will be removed on or after 2011-11-01.
Gem::SourceIndex#find_name called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76.
NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It will be removed on or after 2011-10-01.
Gem::Specification#installation_path called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:77.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
<Gem::LoadError: rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
Could not finrake aborted!
duninitialized constant Hoe::Publish::RDoc
r
d(See full trace by running task with --trace)
oc (>= 0) amongst [bundler-1.0.18, coderay-0.9.8, hoe-2.13.1, method_source-0.6.5, rake-0.9.2, ruby_parser-2.3.0, rubygems-test-0.4.3, sexp_processor-3.0.6, slop-2.1.0]>
gem test is giving me "Gem.source_index is deprecated" warnings whenever it's run. Using RVM, MRI 1.8.7, MRI 1.9.2, and REE 1.8.7.
Example:
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76. NOTE: Gem::SourceIndex#find_name is deprecated, use Specification.find_by_name. It will be removed on or after 2011-11-01. Gem::SourceIndex#find_name called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76. NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It will be removed on or after 2011-10-01. Gem::Specification#installation_path called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:77. NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144. NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#search called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
<Gem::LoadError: rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
Could not finrake aborted! duninitialized constant Hoe::Publish::RDoc r d(See full trace by running task with --trace) oc (>= 0) amongst [bundler-1.0.18, coderay-0.9.8, hoe-2.13.1, method_source-0.6.5, rake-0.9.2, ruby_parser-2.3.0, rubygems-test-0.4.3, sexp_processor-3.0.6, slop-2.1.0]>
Test results posted successfully!
results url: http://test.rubygems.org/gems/rubygems-test/v/0.4.3/test_results/2071
ERROR: Tests did not pass. Examine the output and report it to the author!