We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796757a commit 335ef5eCopy full SHA for 335ef5e
lib/bundler/definition.rb
@@ -964,19 +964,7 @@ def converge_specs(specs)
964
965
# Path sources have special logic
966
if s.source.instance_of?(Source::Path) || s.source.instance_of?(Source::Gemspec)
967
- new_specs = begin
968
- s.source.specs
969
- rescue PathError
970
- # if we won't need the source (according to the lockfile),
971
- # don't error if the path source isn't available
972
- next if specs.
973
- for(requested_dependencies, false).
974
- none? {|locked_spec| locked_spec.source == s.source }
975
-
976
- raise
977
- end
978
979
- new_spec = new_specs[s].first
+ new_spec = s.source.specs[s].first
980
if new_spec
981
s.dependencies.replace(new_spec.dependencies)
982
else
0 commit comments