summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 2d5bbafee5..d646cb08ee 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -659,6 +659,7 @@ EOF
def configure_gem_home_and_path
configure_gem_path
configure_gem_home
+ Bundler.rubygems.clear_paths
end
def configure_gem_path
@@ -672,7 +673,6 @@ EOF
def configure_gem_home
Bundler::SharedHelpers.set_env "GEM_HOME", bundle_path.to_s
- Bundler.rubygems.clear_paths
end
def tmp_home_path