Skip to content

Commit

Permalink
[rubygems/rubygems] This should go through the standard source search…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and matzbot committed Aug 2, 2022
1 parent 35e508d commit 91b9bd6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/bundler/lazy_specification.rb
Expand Up @@ -88,9 +88,7 @@ def materialize_for_resolution
end

def __materialize__(platform)
@specification = if source.is_a?(Source::Gemspec) && source.gemspec.name == name
source.gemspec.tap {|s| s.source = source }
else
@specification = begin
search_object = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform?
Dependency.new(name, version)
else
Expand Down

0 comments on commit 91b9bd6

Please sign in to comment.