summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-06 12:16:01 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-06 12:16:01 +0100
commitdcf9d21d1ad8f0a59433c630f4ab4aeadd722eff (patch)
tree8dc57dbe36de31112d1e6c7bce8ad31667b75ea3
parenta7cc4ec87f17e549a1f0fb9063c53a76889426d6 (diff)
downloadbundler-drop_unnecessary_tempfile_require.tar.gz
Drop unnecessary `tempfile` requiredrop_unnecessary_tempfile_require
The `tempfile` dependency was dropped in [1], but the require was left in there. This could cause gem conflicts because `tempfile` requires `tmpdir` which requires `fileutils`, which loads the default gem instead of our namespaced version, and that could cause fileutils version mismatches and code overriding warnings. [1]: https://github.com/bundler/bundler/commit/4a37d66f3f222739178d798b30fb135f2429fe45
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb
index 1f6dc5d8f9..2a4d7138a4 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -2,7 +2,7 @@
require "open3"
require "shellwords"
-require "tempfile"
+
module Bundler
class Source
class Git