Skip to content

Source blocks should use their nesting to determine resolution precedence #9652

Description

@nerdrew

The following Gemfile should work:

source 'https://example.com/private/' do
  gem "my-gem"

  source 'https://example.com/really-private/' do
    gem "secret-gem" # secret-gem depends on my-gem, it should find it in /private

    path ".." do
      gem "secret-local-gem" # secret-local-gem depends on secret-gem, it should find it in /really-private
      gem "local-gem" # local-gem depends on my-gem, it should find it in /private
    end
  end
end

Thoughts? Would a PR for this be acceptable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions