summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 93093f2e32..9cf6924bda 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -286,7 +286,7 @@ module Bundler
end
end
- app_config_root.join(app_config || ".bundle")
+ current_config_root.join(app_config || ".bundle")
end
def app_cache(custom_path = nil)
@@ -685,5 +685,9 @@ EOF
rescue GemfileNotFound
Pathname.new(".").expand_path
end
+
+ def current_config_root
+ SharedHelpers.config_root
+ end
end
end