Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

lib/bundler/settings.rb: Always respect Bundler.ruby_scope

I have a long standing headache that ~/.bundle/config works
differently than /path/to/project/.bundle/config.
This would make them work the same way, respecting ruby scope.
Not sure if this would have other side-effects,
but really the config should have the same meaning!
  • Loading branch information...
commit 5e6b20e1900e60636eb40e20e552a1ccb7e742df 1 parent 3110341
@godfat godfat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/settings.rb
2  lib/bundler/settings.rb
@@ -85,7 +85,7 @@ def without
def path
key = key_for(:path)
path = ENV[key] || @global_config[key]
- return path if path && !@local_config.key?(key)
+ return "#{path}/#{Bundler.ruby_scope}" if path && !@local_config.key?(key)
if path = self[:path]

0 comments on commit 5e6b20e

Please sign in to comment.
Something went wrong with that request. Please try again.