Commit fc70b4b0a7eb78f6d10d3c58bae274db265575b3
1 parent
bb13917d39
Kill external BUNDLE_ env vars
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
script/boxen-git-credential
... | ... | @@ -21,6 +21,11 @@ |
21 | 21 | |
22 | 22 | Dir.chdir Pathname.new(__FILE__).realpath + "../.." |
23 | 23 | |
24 | +# Because we can be called from inside other Ruby processes, unset any | |
25 | +# `BUNDLE_` environment variables. | |
26 | + | |
27 | +ENV.keys.select { |k| /^BUNDLE_/i }.each { |k| ENV.delete k } | |
28 | + | |
24 | 29 | # Set up our local configuration, deps, and load path. |
25 | 30 | |
26 | 31 | load "config/basic.rb" |