Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2083 from godfat/respect-ruby-scope-for-user-config

lib/bundler/settings.rb: Always respect Bundler.ruby_scope
  • Loading branch information...
commit ab4dc8a1582f623084a7d724f99ee23ab9024923 2 parents 04f95a9 + 841881f
@indirect indirect authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bundler/settings.rb
View
4 lib/bundler/settings.rb
@@ -86,10 +86,10 @@ def without
# @local_config["BUNDLE_PATH"] should be prioritized over ENV["BUNDLE_PATH"]
def path
key = key_for(:path)
- path = ENV[key] || @global_config[key]
+ path = ENV[key]
return path if path && !@local_config.key?(key)
- if path = self[:path]
+ if path = self[:path] || @global_config[key]
"#{path}/#{Bundler.ruby_scope}"
else
Bundler.rubygems.gem_dir

0 comments on commit ab4dc8a

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