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