Skip to content

Gem::SourceIndex throws deprecation warning #9

@tvw

Description

@tvw

Line 28:

  installed_gems = Gem::SourceIndex.from_installed_gems.gems.map{|k,v|v}

gives a rubygems deprecation warning with rubygems 1.8.10

As far as I found out, this helps:

  installed_gems = Gem::Specification

The best would be to test against the rubygems version and use either on or the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions