We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03c2be8 commit 1e24b46Copy full SHA for 1e24b46
1 file changed
spec/bundler/support/path.rb
@@ -321,7 +321,7 @@ def sinatra_dependency_paths
321
cgi
322
compact_index
323
]
324
- path = if ruby_core? && Dir.exist?(source_root.join(".bundle"))
+ path = if ruby_core? && deps.all? {|dep| !Dir[source_root.join(".bundle/gems/#{dep}-*")].empty? }
325
source_root.join(".bundle")
326
else
327
scoped_base_system_gem_path
0 commit comments