Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Gem.source_index is deprecated" #35

Open
cczona opened this issue Feb 7, 2012 · 3 comments
Open

"Gem.source_index is deprecated" #35

cczona opened this issue Feb 7, 2012 · 3 comments

Comments

@cczona
Copy link

cczona commented Feb 7, 2012

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!

@erikh
Copy link

erikh commented Feb 7, 2012

Greetings!

I'll try to look at this -- but I'm actually looking for a new maintainer, so it'll be deferred a bit. Interested? :)

@cczona
Copy link
Author

cczona commented Feb 7, 2012

Props for delegation skills! Alas, not interested. Thanks, though.

@L2G
Copy link

L2G commented Feb 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants