Skip to content

Pry loads plugins which don't support current pry version #1312

@carlzulauf

Description

@carlzulauf

Pry queries rubygems for all pry plugin gems based on name alone. This causes pry to require gems that conflict with the current pry version.

Example:

I have a bundler managed app with the following gems:

  • pry 0.9.12
  • pry-byebug 1.2.1

I also have pry 0.10.1 installed. Using pry outside of the bundled app results in the following error:

Unable to activate pry-byebug-1.2.1, because pry-0.10.1 conflicts with pry (~> 0.9.12) (Gem::LoadError)

It should be possible to skip plugins which don't support the current pry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions