summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-08-02 13:39:56 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-08-02 22:56:19 +0900
commit2e433c84817cebe424dcd90bd1b906df54bc83f3 (patch)
tree8e3247bf7a067eb7eb41f6cd78da39f32e97a003
parent432512786006fc038ce3ff8c00586acec40a5b88 (diff)
downloadbundler-2e433c84817cebe424dcd90bd1b906df54bc83f3.tar.gz
[2.0] Don't create gem home before setting it
Follow up of https://github.com/bundler/bundler/pull/2884.
-rw-r--r--lib/bundler.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 5eb2d1bca4..2da2db29c9 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -524,13 +524,6 @@ EOF
end
def configure_gem_home
- # TODO: This mkdir_p is only needed for JRuby <= 1.5 and should go away (GH #602)
- begin
- FileUtils.mkdir_p bundle_path.to_s
- rescue
- nil
- end
-
Bundler::SharedHelpers.set_env "GEM_HOME", File.expand_path(bundle_path, root)
Bundler.rubygems.clear_paths
end