Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
Remove creating GEM_HOME dir before setting it
Browse files Browse the repository at this point in the history
Reference to: rubygems#602
  • Loading branch information
kiela committed Feb 14, 2014
1 parent e7e1889 commit 83b05bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/bundler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@ def configure_gem_home_and_path
end

def configure_gem_home
# TODO: This mkdir_p is only needed for JRuby <= 1.5 and should go away (GH #602)
FileUtils.mkdir_p bundle_path.to_s rescue nil

ENV['GEM_HOME'] = File.expand_path(bundle_path, root)
Bundler.rubygems.clear_paths
end
Expand Down

0 comments on commit 83b05bf

Please sign in to comment.