Skip to content

Commit 087e3e4

Browse files
This should go through the standard source search logic
1 parent 08e1554 commit 087e3e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bundler/lib/bundler/lazy_specification.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ def materialize_for_resolution
8888
end
8989

9090
def __materialize__(platform)
91-
@specification = if source.is_a?(Source::Gemspec) && source.gemspec.name == name
92-
source.gemspec.tap {|s| s.source = source }
93-
else
91+
@specification = begin
9492
search_object = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform?
9593
Dependency.new(name, version)
9694
else

0 commit comments

Comments
 (0)